API reference

createKitchenDisplay

Required permission: RestaurantPosWrite

graphql
createKitchenDisplay(
  restaurantId: ID!
  input: KitchenDisplayInput!
): KitchenDisplay

Arguments

Name Type Description
restaurantId ID!
input KitchenDisplayInput!

Returns

KitchenDisplay

Example

graphql
mutation CreateKitchenDisplay($restaurantId: ID!, $input: KitchenDisplayInput!) {
  createKitchenDisplay(restaurantId: $restaurantId, input: $input) {
    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 { createKitchenDisplay(...) { __typename } }"}'