Eventjet GraphQL API documentation

orderStatus

Reads the current status of an order placed with Mutation.placeOrder.

Pass Order.id from PlaceOrderPayload.order as the orderId argument. Persist that ID before you send the customer to the payment provider — this field is the only way to look the order up again.

Resolves to null if no order with the given ID exists.

Poll this field after the customer returns from the payment provider. OrderStatus.isPaid becomes true once the completed payments cover OrderStatus.orderTotal; an order whose total is zero counts as paid right away. OrderStatus.downloads stays empty until the tickets for the order have been issued, which happens after payment, so keep polling until both OrderStatus.isPaid is true and the downloads you expect are present.

OrderStatus.orderNumber is assigned when the order is placed and is available immediately. OrderStatus.sourceCart points back at the cart the order was created from and resolves to null once that cart is no longer available.

OrderStatus is a reduced view of the order: OrderStatus.customerEmail is masked, and the order's payments are not exposed through it.

Arguments

ArgumentDescriptionType
orderIdID!

Type

This field resolves to OrderStatus, which has the following fields:

FieldDescriptionType
customerEmailString
downloads[ Download ]
isPaidBoolean
orderNumberString
orderTotalMoney
sourceCartCart