removeSeatFromCart
Removes a single seat from a cart, addressed by its seatmap and seat ID.
This is the counterpart to addSeatToCart and takes the same coordinates: the seatmap the seat
belongs to and the seat itself. Use it when you are working from a seatmap view and already know which
seat the customer deselected. If you are working from the cart contents instead, pass the item's
CartItem.id to removeItemFromCart.
Only the ticket for that one seat is removed. If the seat is not in the cart at all, nothing happens and
the cart resolves unchanged on RemoveSeatFromCartPayload.cart, without an error. An unknown cart ID, an
expired cart, an unknown seatmap ID, or a seat ID that does not belong to the given seatmap all fail
with an error.
When automatic seat optimization is enabled for the event, removing a seat can also shift the customer's
remaining seats within their rows so that no unsellable single-seat gaps are left behind. The
replacement seats reuse the ticket types of the seats they take over from. Re-render from Cart.items
in the payload rather than assuming only the removed seat changed.
Arguments
| Argument | Description | Type |
|---|---|---|
| input | RemoveSeatFromCartInput |
Type
This field resolves to RemoveSeatFromCartPayload, which has the following fields: