Remove items

Remove one or more items from an existing cart. For an item, if only itemCode is supplied, all items with that itemCode will be removed. If itemData is also supplied, then the item with that itemCode and the matching itemData id (name is ignored) will be removed.

Response CodeFault CodeFaultSuggested User Message
40090064UnableToRemoveItemsFaultItem cannot be removed from cart
40090023InvalidItemCombinationFaultItem {itemCode} cannot be added to this cart
40490040NoCartFoundFaultCart does not exist
50090061SystemFailureFaultSystem Failure, please try again later
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The ID of the customer who owns the cart

int64
required

The ID of the cart to remove items from

Body Params

The items to be removed from the cart

List of cart items to be added or removed

items
array of objects
items
Headers
string

The tenant ID for which the operation is being carried out. This will be automatically generated during the authentication process.

string

The ID of a user who is performing the operation. This will be automatically generated during the authentication process.

string
enum

The source of whether records are updated by HMAC or a USER. This will be automatically generated during the authentication process. For customers accessing the service the source will be set to CUSTOMER.

Allowed:
Responses

Language
LoadingLoading…
Response
Choose an example:
application/json