API reference

markOrderAsPrintedInKitchen

Sets the flag "needsKitchenPrint" to false, which indicates that this order has been printed by Loco PoS Kitchen Required permission: RestaurantWrite

graphql
markOrderAsPrintedInKitchen(
  restaurantId: ID!
  orderId: ID!
): Order

Arguments

Name Type Description
restaurantId ID!
orderId ID!

Returns

Order

Example

graphql
mutation MarkOrderAsPrintedInKitchen($restaurantId: ID!, $orderId: ID!) {
  markOrderAsPrintedInKitchen(restaurantId: $restaurantId, orderId: $orderId) {
    id
    estimatedDeliveryTime
    grossAmount
    needsKitchenPrint
    deliveryHeroLongCode
    deliveryTime
  }
}
bash
curl https://api.thelocoapp.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LOCO_API_KEY" \
  -d '{"query": "mutation { markOrderAsPrintedInKitchen(...) { __typename } }"}'