Reserves tickets for an event.
The reserve()
function returns a Promise that resolves to a
ReservationResponse
when the tickets have been reserved.
Retrieve ticket IDs to specify which tickets to reserve from the Events/Tickets collection. Each ticket must have a unique ID.
Note: To work with the Wix Events API, you need to publish your site.
Note:
You can use the backend createReservation()
function to reserve tickets.
ID of the event to reserve tickets for.
Tickets to reserve.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.