reserve( )


Reserves tickets for an event.

について 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.

注: You can use the backend createReservation() function to reserve tickets.

メソッド宣言
コピー
メソッド・パラメータ
eventIdstringRequired

ID of the event to reserve tickets for.


ticketsArray<TicketSelection>Required

Tickets to reserve.

リターン
Return Type:Promise<ReservationResponse>
役に立ちましたか?
はい
いいえ