API reference

deleteKitchenDisplay

Required permission: RestaurantPosWrite

graphql
deleteKitchenDisplay(
  restaurantId: ID!
  kitchenDisplayId: ID!
): Restaurant

Arguments

Name Type Description
restaurantId ID!
kitchenDisplayId ID!

Returns

Restaurant

Example

graphql
mutation DeleteKitchenDisplay($restaurantId: ID!, $kitchenDisplayId: ID!) {
  deleteKitchenDisplay(restaurantId: $restaurantId, kitchenDisplayId: $kitchenDisplayId) {
    id
    autoAcceptDeliveryHeroOrders
    deliveryHeroChainId
    deliveryHeroEnabled
    deliveryHeroVendorId
    deliveryHeroWebhookUrl
  }
}
bash
curl https://api.thelocoapp.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LOCO_API_KEY" \
  -d '{"query": "mutation { deleteKitchenDisplay(...) { __typename } }"}'