createTicketReservation( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Creates a ticket reservation.

Reserves specified tickets for a limited time while a customer completes their purchase. The reservation will have PENDING status and will automatically expire after the event's configured reservation duration (typically 5-30 minutes) unless confirmed.

Permissions
Events Checkout
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
ticketReservationTicketReservationRequired

Ticket reservation details to create.

Must include at least one ticket line item with valid ticket definition ID and quantity. Additional settings like seat assignments and pricing options can be specified in the ticket info.

Returns
Return Type:Promise<TicketReservation>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?