Overview
When the ticket buyer invokes the 'add to basket' action on the Ticket Selection Widget, the Widget will post the booking_options
selected by the user for that event to the relevant basket_id
, via post messages.
The selected tickets on the Widget and all associated metadata will then appear under items
in the basket schema.
Therefore, as a developer, you do not need to orchestrate any API calls to add tickets to the basket since this is automatically done.
Tickets added to the basket have a Time to Live (ttl
) of 15 minutes. This means that the tickets are reserved for 15 minutes, after which the reservation will expire.
You should note that tickets with expired ttl
will remain in the basket and are not guaranteed to be available at checkout.
You can retrieve the status of the reservation from the ttl
returned for each item
in the basket.