Remove an item from a cart
Drops an extra from the cart and returns the cart repriced without it. The rest of the cart is untouched — the customer keeps the same hold and the same expiry.
itemIdis theidof the line on the cart response, not an inventory item ID. Two items of the same extra at different price options are separate lines with ids of their own- Idempotent — an
itemIdthe cart does not hold returns the current cart - Only an
Extraitem can be removed. A cart’s seats and GA are set when it is created; to release them, delete the cart withDELETE /carts/{cartId}
Authentication
X-TT-API-Keystring
API Key authentication via header
Path parameters
cartId
Cart ID (UUID)
itemId
Cart item ID, as it came back on the cart response items[].id
Headers
X-TT-Platform
Identifies the platform the request comes from.
Allowed values:
X-TT-Retailer
Your retailer identifier, provided during onboarding. It must be a retailer your API key was issued for.
Response headers
X-RateLimit-Limit
How many requests this API key may make for this retailer in the current window. Sent only when the request was counted against that limit. A response served from cache was not counted and repeats the value it was cached with.
X-RateLimit-Remaining
How many requests this API key has left for this retailer in the current window. Sent only when the request was counted against that limit. A response served from cache was not counted and repeats the value it was cached with.
Response
Cart repriced without the item (or unchanged, if it did not hold it).
data
Shopping cart containing held inventory cart items.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
410
Gone Error
429
Too Many Requests Error