API reference
createKitchenDisplay
Required permission: RestaurantPosWrite
createKitchenDisplay(
restaurantId: ID!
input: KitchenDisplayInput!
): KitchenDisplayArguments
| Name | Type | Description |
|---|---|---|
restaurantId |
ID! |
|
input |
KitchenDisplayInput! |
Returns
Example
mutation CreateKitchenDisplay($restaurantId: ID!, $input: KitchenDisplayInput!) {
createKitchenDisplay(restaurantId: $restaurantId, input: $input) {
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 { createKitchenDisplay(...) { __typename } }"}'