Get a B2C order's status (and tickets once paid)
Public (no auth). Order status: pending | paid | expired | cancelled. Once paid (paid) it includes the issued ticket codes; the QR/ticket is delivered by email. While still pending it returns expiresAt, the instant (ISO 8601, UTC) at which its reservation expires — the SAME one returned by POST /orders, so a countdown can resume after a reload instead of restarting. It may be in the PAST: that means the reservation has already expired and there is no point sending the buyer to pay, even if the checkoutUrl still opens. A null expiresAt NEVER means ‘no time limit’: it means the order is no longer pending, or there is no reservation. The id is a non-enumerable cuid; no buyer data is exposed.
/orders/{id}idstringrequiredOK
dataOrderStatusrequiredShow propertiesHide properties
orderIdstringrequiredreferencestringrequiredstatusstringrequiredpendingpaidexpiredcancelledtotalnumberrequiredcurrencystringrequiredexpiresAtstring | nullrequiredShow propertiesHide properties
stringnullticketsOrderTicket[]requiredShow propertiesHide properties
OrderTicketticketCodestringrequiredticketTypeNamestringrequiredMissing or invalid credential.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsanyInsufficient role or resource not accessible.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsanyResource does not exist or is out of scope.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsanyRequest body/parameter validation failed.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsany
