Empty line items for the shopping cart by id

Endpoint

DELETE
https://apporigin-idse-dev2.ffdc.sbc.com:8443/msapi/msapi/sales/shopping-cart-api/v1/carts/{cart-id}/items

This operation deletes a ShoppingCart (ProductOrder) items.

arrowSecurity

http

This API supports Basic Authentication.
scheme:basic
arrowRequest

Path Parameters

    Header Parameters

        Body Parameters

        Responses

        Success

        arrowBody

        application/json

        REQUEST

        1
        2
        3
        curl --request DELETE \
             --url https://apporigin-idse-dev2.ffdc.sbc.com:8443/msapi/msapi/sales/shopping-cart-api/v1/carts/string/items \
             --header 'accept: application/json;charset=utf-8'

        RESPONSE

        1
        2
        3
        4
        5
        6
        7
        8
        9
        10
        11
        12
        13
        14
        15
        16
        17
        18
        19
        20
        21
        22
        23
        24
        25
        26
        27
        28
        29
        30
        31
        32
        33
        34
        35
        36
        37
        38
        39
        40
        41
        42
        43
        44
        45
        46
        47
        {
          "id": "cb7605f0-9b3e-11ec-b7a2-b93d4c24b7bd",
          "orderDate": "2022-03-03T22:10:54.544Z",
          "lastUpdate": "2022-03-04T19:04:10.000Z",
          "channel": [
            {
              "id": "SelfService",
              "name": "SelfService",
              "role": "SelfService",
              "extensions": [
                {
                  "name": "StoreId",
                  "value": "12334"
                },
                {
                  "name": "AgentId",
                  "value": "sv1323"
                }
              ]
            }
          ],
          "relatedParty": [
            {
              "id": "userId12345",
              "role": "profile"
            },
            {
              "role": "customer",
              "extensions": [
                {
                  "name": "CustomerType",
                  "value": "Consumer"
                },
                {
                  "name": "CustomerSubType",
                  "value": "Individual"
                }
              ]
            }
          ],
          "state": "inProgress",
          "@type": "DEFAULT",
          "validation": {
            "status": "Success",
            "readyToCheckout": true
          }
        }