API reference
Order
The Order object.
Kind: Objects
Fields
id
ID!
attribute
| Name | Type | Description |
|---|---|---|
key |
String! |
estimatedDeliveryTime
If the customer asked to get the order ASAP, this is the estimated time when we will deliver it
grossAmount
The total amount, including tip & taxes
needsKitchenPrint
True if this order needs to be printed by Loco POS Kitchen
deliveryHeroLongCode
deliveryTime
discountAmount
employeeName
finishedAt
The time when the order was marked as Done
items
[OrderItem!]
orderIntent
paymentIntents
Required permission: Authenticated
paymentProvider
pickedUpAt
posTerminal
readyForPickupAt
receiptPrinter
Required permission: RestaurantRead
receiptViewKey
refundedAmount
servingLocation
status
statusForCustomer
statusForCustomerSteps
tipAmount
transactionChannel
type
userMessage
userPhoneNumber
receipt
restaurant
refundIntents
[RefundIntent!]
Required permission: RestaurantOrderRefund
refundReceipts
[Receipt]
createdAt
updatedAt
slips (deprecated)
[OrderSlip!]
Required permission: RestaurantWrite
Warning
Deprecated. Use CloudPRNT instead
How to get it
This type is returned by:
finishOrder(mutation)markOrderAsCompletedByCustomer(mutation)markOrderAsPrintedInKitchen(mutation)updateOrder(mutation)finalizeOrderIntent(mutation)finalizeRefundIntent(mutation)Restaurant.kitchenOrderQueue(field onRestaurant)Restaurant.order(field onRestaurant)OrderEdge.node(field onOrderEdge)OrderIntent.order(field onOrderIntent)User.order(field onUser)RefundIntent.order(field onRefundIntent)WhiteLabelGuest.order(field onWhiteLabelGuest)