Skip to main content

Arguments

input
required
The input object contains the unique identifier (ID) for the cart and the items that need to be deleted.

Returns

CartResponse.*
Any requested field from the CartResponse object.

Example - request

Query arguments
GraphQL

Example - response

Response

Errors

If the cart is not found then a corresponding error is returned
JSON
If the cart is expired (older than 10 days) then a corresponding error is returned
JSON
If the provided items are not found in the inventory PRODUCT_NOT_FOUND error is returned
JSON
If the provided items are present in inventory, but were not added to the cart, then STORE_NOT_FOUND error is returned
JSON