API reference
updateKitchenDisplaySettings
Required permission: RestaurantPosWrite
updateKitchenDisplaySettings(
restaurantId: ID!
patch: KitchenDisplaySettingsPatch!
): RestaurantArguments
| Name | Type | Description |
|---|---|---|
restaurantId |
ID! |
|
patch |
KitchenDisplaySettingsPatch! |
Returns
Example
mutation UpdateKitchenDisplaySettings($restaurantId: ID!, $patch: KitchenDisplaySettingsPatch!) {
updateKitchenDisplaySettings(restaurantId: $restaurantId, patch: $patch) {
id
autoAcceptDeliveryHeroOrders
deliveryHeroChainId
deliveryHeroEnabled
deliveryHeroVendorId
deliveryHeroWebhookUrl
}
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "mutation { updateKitchenDisplaySettings(...) { __typename } }"}'