Skip to content

Switch seated article

POST{{API_BASE_URL}}/shop/v1/cart/:cartId/items/:itemId/switch-article

This endpoint changes the article of a seated cart item while the seat stays reserved, for example from a regular to a reduced ticket.

Only articles listed in the seat's validArticleIds (see Get seat map) can be chosen.

Request

  • cart (string, path): The ID of the cart.

  • item (string, path): The ID of the seated cart item.

  • article (string, body): The ID of the new article.

Possible problems: 3018 (the item has no seat), 3020 (the seat is no longer available for the new article), 3021 (the seat reservation is no longer valid; use Re-reserve seats first).

Response

  • data (object)

    • itemSwitched (object): cartId, article (the new article), items (array with item, reservation, seatId, seatReserved, groupBookingId, seatGroupId, groupBookingMemberCount) and problems (array).

    • cart (object): The updated cart, as in Get cart.

Authentication#auth

Requires a bearer token with the matching scope. Mint via OAuth 2.0 client credentials and send it in the Authorization header.

Query parameters#query

$expandAlloptional
—

Responses#responses

No example responses on file.