POST v1/store/login/user/orders/cart/clear

Clears the cart of the current user.

Request Information

URI Parameters

None.

Body Parameters

CartClearModel
NameDescriptionTypeAdditional information
OrderItemIDs

The list of the cart item identifiers. Can be null. If it is null then all cart items will be removed.

Collection of globally unique identifier

None.

ListID

The unique ID of the submission list.

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderItemIDs": [
    "9eed7934-e7fd-48bd-8bd8-8c2d205bfe49",
    "475f23eb-5357-42fc-9298-db28c0a441c9"
  ],
  "ListID": "b9f91c4d-6966-406f-bbc2-6b24331ced0e"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.