Ticket Reservation
A TicketReservation is a temporary hold on a ticket slot, typically used to reserve capacity in a time slot before completing a purchase. Reservations automatically expire after 15 minutes if not converted to a ticket.
Ticket reservations are useful when you need to:
- Hold a spot in a time slot while the customer completes checkout
- Prevent overbooking during the purchase process
- Manage capacity for time-slotted tickets
Workflow
- Create a reservation - Call
POST /ticket-reservationswith aticketTypeIdand optionally atimeSlotId - Complete the purchase - Call
POST /ticketswith theticketReservationIdto convert the reservation into an actual ticket - Or cancel - Call
DELETE /ticket-reservations/:idif the customer abandons the checkout
If a reservation expires (after 15 minutes), the reserved capacity is automatically released.
| Property | Type | Default | Description | Example |
|---|---|---|---|---|
id* | string | Unique identifier (128 character string) | "aB3xY9kL..." | |
createdAt | string | Date for when the reservation was created | "2024-01-15T10:30:00.000Z" | |
expiresAt | string | Date when the reservation will expire | "2024-01-15T10:45:00.000Z" |