POST v1/store/login/user/orders/cart/clear
Clears the cart of the current user.
Request Information
URI Parameters
None.
Body Parameters
CartClearModel| Name | Description | Type | Additional 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": [
"faa71b04-b32d-4ac4-bd21-3bf6e7458cea",
"fef2c823-0112-4ff1-9b4f-4aa5b45cba59"
],
"ListID": "d6e29aa7-245b-4e10-b200-c0b91e9a82c5"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |