Remove one or more lines from a cart
Removes one or more existing lines from the cart by their line id and returns the updated cart with recalculated totals. Any capacity a removed timed ticket or package was holding is released back into availability.
Headers
x-entria
Identifies which store this request is for. Required on every store-scoped route. It is not authentication and not a secret — it grants no privileges and is safe to send from a browser. You receive the value once your Entria backend has been created and configured. Missing header returns 400; an unknown store returns 404.
Query parameters
identity
Opaque encrypted token identifying the shopper, used to apply customer-specific pricing when recalculating the cart after removal. Pass it through unchanged; it is not meant to be decoded by the caller.
Request
This endpoint expects an object.
cartId
Id of the cart to remove lines from.
lineIds
Ids of the lines to remove, as returned in the cart's items.
Response
The cart after the given lines were removed, with recalculated totals.
cart
Errors
400
Bad Request Error
404
Not Found Error
500
Internal Server Error
