Adds items to the basket, and returns the basket ID if successful. If no Basket ID is provided, a new basket will be created.
The 'Bearer' token can be obtained from the token management interface or via the login endpoint using your admin user credentials.
This header will determine which sales channel pricing to use in the request. When omitted, the default behaviour is to use box office pricing. This only influences the pricing, not the sales channel that is recorded against the items.
shop, kiosk, box_office Request body for adding an item to the basket
The basket ID in which the item is being added to. If this is not present, a new basket will be created. Basket IDs and Order IDs can be used interchangeably. If this field is present then customerId, customerName and customerEmail fields will be ignored.
The ID of the currency to use to process this basket addition. If providing a basket ID, this field will be ignored. The currency ID specified must be enabled for this company.
The item(s) will be added to this customer's basket. If this customer does not have a basket then a new one will be created. If a customer can be found using this then customerName and customerEmail will be ignored. This is required where the payment method is ewallet-online.
This will be used in combination with customerEmail to detemine the basket to add items to. If this customer does not have a basket then a new one will be created. If a customer cannot be found then a new one will be created.
This will be used in combination with customerName to detemine the basket to add items to. If this customer does not have a basket then a new one will be created. If a customer cannot be found then a new one will be created.
This will be used in combination with customerName + customerEmail OR customerId. Single sign-on identifier for the customer, optional & only applicable to companies using a custom SSO solution.
If this basket is activated in the shop, the customer will be redirected to this URL after completing checkout.
If this basket is activated in the shop, the customer will be redirected to this URL after a checkout failure
The items being added to the basket
Breakdown of payments when using the 'split' payment method. The sum of all splits must equal the order total.
When true, this allows you to auto-generate and complete an order from the newly created basket.
When true, if a basketId is supplied, that basket will be expired and a new basketId will be issued. Without a basketId, this parameter is ignored.
When used with autocomplete, the UUID will be used as an idempotency key to ensure that the same order is not created more than once due to network failure. This should not be used to add items to a persisted basket across multiple requests.
The payment method used if the autocomplete flag is set to true.
card-not-present-offline, card-not-present-online, card-present-offline, card-present-online, cash, complimentary, bank, ewallet-online, cheque, gift-card, money-order, split Disable order confirmation email. Only applicable when autocomplete is set to true.
A list of related resources you wish to include in the response. Values can be a url encoded array, or comma separated string.
wallet If completing an e-wallet payment, you must provide the source.
When set to true, a startBasketUrl attribute will be returned, which will include a URL to initiate the basket flow in shop for the newly created basket.
Successfully added item to existing basket.