API reference

OpenOrderBatchInput

The OpenOrderBatchInput input object.

Kind: Input objects

Input fields

Name Type Description
idempotencyKey String! An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions.
deliveryLocationId ID When placing an EatIn or TakeAway order, this is the id of the location to deliver the items to.
deviceLocation CoordinatesInput The location of the device that opened the order.
employeeId ID The Employee that placed the order, when placing an order from a Till while being logged in as an Employee
expectedTotalAmount Int If provided, the mutation will abort if the computed total amount doesn't match the value given here. This value should reflect the exact amount that the customer will be asked to pay in the payment step. It might however be lower than the final amount, if the customer adds tip in the payment step. Note that this amount should thus include everything that the customer should pay for, that is: - Each item, including VAT - Each addon item, including VAT - Delivery cost, including VAT - Discount - Tip
installationId String An identifier that is unique to this particular device and installation of client.
productsHandedToCustomer Boolean If this is provided as true the order will go directly to the "Delivered" state after being paid, and will thus not show up in Loco PoS Kitchen
tillId ID! The Till this order was placed from
appLabel String!
deliveryTime DateTime
items [OrderItemInput!]!
message String
pushToken PushTokenInput
type MenuType!