Create cart

POST{{API_BASE_URL}}/shop/v1/cart

This creates a card for the user in the context of an event.

Request

  • event (string): The event of the cart.

  • user (string): The user ID associated with the cart.

  • isGuestUser (boolean): Indicates whether the user is a guest user.

Response

Upon a successful request, the response will include the cart details:

  • id (string): The cart ID.

  • expiryTime (string): The expiry time of the cart.

  • user (object): Details of the user associated with the cart.

  • event (object): Details of the event added to the cart.

  • promotionCodes (array): List of promotion codes applied.

  • items (array): List of items in the cart.

  • totals (array): Details of the cart totals.

  • isImmutable (boolean): Indicates if the cart is immutable.

  • isPaymentImmutable (boolean): Indicates if the payment details are immutable.

  • isLegitimationImmutable (boolean): Indicates if the legitimation details are immutable.

  • isRegistrationImmutable (boolean): Indicates if the registration details are immutable.

  • isAmountImmutable (boolean): Indicates if the amount is immutable.

  • isRegistrationOnly (boolean): Indicates if registration is the only requirement.

  • isRegistrationRequired (boolean): Indicates if registration is required.

  • isLegitimationRequired (boolean): Indicates if legitimation is required.

  • isPaymentRequired (boolean): Indicates if payment is required.

  • buyerPerson (object): Details of the buyer.

  • status (string): The status of the cart.

  • culture (string): The culture associated with the cart.

Authentication#auth

This endpoint does not require authentication.

Query parameters#query

$expandAlloptional

Responses#responses

200OKCreate cart