Removes seats from a shopping cart
POST/api/v1/cart/removeSeats
Releases previously allocated seats from a cart item. Can remove specific seats or all seats in the cart item. The seats become available again for other customers to purchase.
SOAP Equivalent: AWSP_CartRemoveSeats
Examples
Success (200)
{
"releasedCount": 3
}
Error 400 - Missing x-tenant header
{
"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1",
"title": "Bad Request",
"status": 400,
"detail": "The x-tenant header is required"
}
Error 400 - Validation failed
{
"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1",
"title": "Bad Request",
"status": 400,
"detail": "CartItemId must be greater than 0"
}
Error 404 - Cart item not found
{
"type": "https://tools.ietf.org/html/rfc9110#section-15.5.5",
"title": "Not Found",
"status": 404,
"detail": "Cart item not found"
}
Error 500 - Server error
{
"type": "https://tools.ietf.org/html/rfc9110#section-15.6.1",
"title": "Internal Server Error",
"status": 500,
"detail": "An unexpected error occurred",
"traceId": "00-abc123-def456-00"
}
SOAP to REST Field Mapping
| REST Field | SOAP Field | Notes |
|---|---|---|
| cartItemId | ID_TemporaryOrderRow | Cart item identifier (request parameter) |
| seatIds | ListID_Seat | Array of seat identifiers to remove (request parameter). If empty, all seats are removed |
| releasedCount | result | Number of seats successfully released. SOAP returns error code (0 = success), REST returns count directly |
Request
Responses
- 200
- 400
- 401
- 404
- 500
OK
Bad Request
Unauthorized
Not Found
Internal Server Error