API reference

Order

The Order object.

Kind: Objects

Fields

id

ID!

attribute

JSONValue

Name Type Description
key String!

estimatedDeliveryTime

DateTime

If the customer asked to get the order ASAP, this is the estimated time when we will deliver it

grossAmount

Int

The total amount, including tip & taxes

needsKitchenPrint

Boolean

True if this order needs to be printed by Loco POS Kitchen

deliveryHeroLongCode

String

deliveryTime

DateTime

discountAmount

Int53

employeeName

String

finishedAt

DateTime

The time when the order was marked as Done

items

[OrderItem!]

orderIntent

OrderIntent

paymentIntents

[PaymentIntent!]

Required permission: Authenticated

paymentProvider

PaymentProvider

pickedUpAt

DateTime

posTerminal

PosTerminal

readyForPickupAt

DateTime

receiptPrinter

PrinterQueue

Required permission: RestaurantRead

receiptViewKey

String

refundedAmount

Int53

servingLocation

ServingLocation

status

OrderStatus

statusForCustomer

OrderStatusForCustomer

statusForCustomerSteps

[OrderStatusForCustomerStep!]

tipAmount

Int53

transactionChannel

TransactionChannel

type

MenuType

userMessage

String

userPhoneNumber

E164

receipt

Receipt

restaurant

Restaurant

refundIntents

[RefundIntent!]

Required permission: RestaurantOrderRefund

refundReceipts

[Receipt]

createdAt

DateTime

updatedAt

DateTime

slips (deprecated)

[OrderSlip!]

Required permission: RestaurantWrite

Warning

Deprecated. Use CloudPRNT instead

How to get it

This type is returned by: