createReservation( )


Reserves tickets for 20 minutes.

Reserved tickets are deducted from ticket stock and cannot be bought by another site visitor. When the reservation expires, the tickets are added back to the stock.

Permissions
Manage Events - all permissions
Manage Orders
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
eventIdstringRequired

Event ID to which the reservation belongs.


optionsCreateReservationOptions

An object representing the available options for creating a reservation.

Returns
Return Type:Promise<CreateReservationResponse>
Errors

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

Did this help?