Skip to main content

Order statuses

Main statuses​

StatusMeaning
DRAFTThe order is being built; seats are held until expiresAt
PAIDPayment confirmed via confirm, tickets issued
EXPIREDThe lifetime ended without confirmation, seats released
Order lifetime

An order is valid for 15 minutes from creation. Changes to the order do not extend this time. Within it you need to add the order items, accept payment and call confirm.

Order lifecycle​

An unpaid order can be deleted: DELETE /orders/{orderId} returns 204, after which GET /orders/{orderId} returns 404.

Seat statuses​

StatusMeaning
FREEFree
IN_ORDERIn the order passed in the orderId parameter
HELDIn any other unpaid order
SOLDSold
UNAVAILABLENot for sale

Transitions:

  • A seat in your order: FREE → IN_ORDER after POST /orders/{orderId}/seats → SOLD after confirm.
  • When the order item is deleted, the order is deleted or the lifetime expires, the seat becomes FREE again.
  • A seat in someone else's order is HELD; it will become FREE or SOLD.

Ticket status​

An issued ticket has the ACTIVE status.

How to check the status​

GET /orders/{orderId} — the status and expiresAt fields. Your list of orders — GET /orders with sorting by sortBy (createdAt, savedAt, paidAt, status, totalAmount, finalAmount) and sortOrder (desc by default, or asc).

Final statuses​

PAID and EXPIRED are final. An order in the EXPIRED status cannot be confirmed: build a new one.