API reference
updateKitchenDisplay
Required permission: RestaurantPosWrite
updateKitchenDisplay(
restaurantId: ID!
kitchenDisplayId: ID!
patch: KitchenDisplayPatch!
): KitchenDisplayArguments
| Name | Type | Description |
|---|---|---|
restaurantId |
ID! |
|
kitchenDisplayId |
ID! |
|
patch |
KitchenDisplayPatch! |
Returns
Example
mutation UpdateKitchenDisplay($restaurantId: ID!, $kitchenDisplayId: ID!, $patch: KitchenDisplayPatch!) {
updateKitchenDisplay(restaurantId: $restaurantId, kitchenDisplayId: $kitchenDisplayId, patch: $patch) {
id
name
collapseOnMainKitchenDisplay
description
showsPrintButton
skipExplicitSlipPreparationStart
}
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "mutation { updateKitchenDisplay(...) { __typename } }"}'