API reference
OpenOrderBatch
The OpenOrderBatch object.
Kind: Objects
Fields
id
ID!
allItems
createdAt
deliveryLocation
deliveryTime
employee
finishedAt
The time when the batch was marked as Done
fromOpenOrder
index
items (deprecated)
[OrderItem!]
Warning
Deprecated. Use allItems instead which contains an updated type
message
till
type
updatedAt
state
The state which this Open Order is currently in.
- 'Canceled' - The batch has been canceled and shouldn't be delivered to the customer.
- 'Done' - The batch have been successfully delivered.
- 'Pending' - The batch is pending delivery to customer.
How to get it
This type is returned by:
OpenOrder.batches(field onOpenOrder)OpenOrder.lastBatch(field onOpenOrder)