API reference
OpenOrder
The OpenOrder object.
Kind: Objects
Fields
id
ID!
amountCanceled
amountMoved
amountPaid
amountPayable
batches
batchesLength
createdAt
deliveryLocation
itemsPayable
guestPhoneNumber
lastBatch
name
type
updatedAt
state
The state which this Open Order is currently in.
- 'Canceled' - The open order has been canceled and cannot be used anymore.
- 'Done' - This open order has successfully resulted in an OrderIntent.
- 'Pending' - The order is still open and batches can be added.
How to get it
This type is returned by:
cancelOpenOrderItems(mutation)createOpenOrder(mutation)createOpenOrderBatch(mutation)updateOpenOrder(mutation)Restaurant.openOrder(field onRestaurant)Restaurant.openOrders(field onRestaurant)DigitalSlip.openOrder(field onDigitalSlip)OpenOrderBatchItemStatus.openOrder(field onOpenOrderBatchItemStatus)OpenOrderBatch.fromOpenOrder(field onOpenOrderBatch)OpenOrderItemsMoved.from(field onOpenOrderItemsMoved)OpenOrderItemsMoved.to(field onOpenOrderItemsMoved)OpenOrderEdge.node(field onOpenOrderEdge)DeliveryLocation.openOrders(field onDeliveryLocation)OrderIntent.openOrder(field onOrderIntent)