API reference

updateKitchenDisplay

Required permission: RestaurantPosWrite

graphql
updateKitchenDisplay(
  restaurantId: ID!
  kitchenDisplayId: ID!
  patch: KitchenDisplayPatch!
): KitchenDisplay

Arguments

Name Type Description
restaurantId ID!
kitchenDisplayId ID!
patch KitchenDisplayPatch!

Returns

KitchenDisplay

Example

graphql
mutation UpdateKitchenDisplay($restaurantId: ID!, $kitchenDisplayId: ID!, $patch: KitchenDisplayPatch!) {
  updateKitchenDisplay(restaurantId: $restaurantId, kitchenDisplayId: $kitchenDisplayId, patch: $patch) {
    id
    name
    collapseOnMainKitchenDisplay
    description
    showsPrintButton
    skipExplicitSlipPreparationStart
  }
}
bash
curl https://api.thelocoapp.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LOCO_API_KEY" \
  -d '{"query": "mutation { updateKitchenDisplay(...) { __typename } }"}'