Eventjet GraphQL API documentation

SaleState

Enum

Status of a box office sale.

Typical flow: OPENCOMMITTED. If a payment link is created while the sale is open: OPENPAYMENT_PENDINGOPENCOMMITTED. If an uncommitted sale is canceled: OPEN/OVERDUEWITHDRAWN. If a committed sale is canceled: COMMITTEDSaleState.CANCELED. If the sale expires without being completed: OPENOVERDUE.

Enum Values

ValueDescription
CANCELEDSale was canceled after being committed. Triggered by `cancelSale` on a `COMMITTED` sale. Terminal.
COMMITTEDSale has been completed. Triggered by `completeSale`.
OPENInitial state. The sale is being prepared and has not been completed yet. Set by `createSale`.
OVERDUEThe sale expired before being completed. Not triggered by a mutation. Can revert to `OPEN` if the expiration is extended.
PAYMENT_PENDINGA payment link has been created and is awaiting payment. Once the payment link is paid or canceled (via `cancelPaymentLink`), the state is re-evaluated based on the sale's current data.
WITHDRAWNSale was canceled before being committed. Triggered by `cancelSale` on an uncommitted (`OPEN` or `OVERDUE`) sale. Terminal.