API reference

disableKitchenDisplays

Required permission: RestaurantPosWrite

graphql
disableKitchenDisplays(
  restaurantId: ID!
): Restaurant

Arguments

Name Type Description
restaurantId ID!

Returns

Restaurant

Example

graphql
mutation DisableKitchenDisplays($restaurantId: ID!) {
  disableKitchenDisplays(restaurantId: $restaurantId) {
    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 { disableKitchenDisplays(...) { __typename } }"}'