v1

latestOpenAPI 3.0.02026-07-1398671635.1 KB
Restaurant Events Webhooks
publicly-accessible

Restaurant Offline Status

Callback to notify that a restaurant has been taken offline through an active Restaurant Event or there's been a change in whether the restaurant can override a previous offline status.

put/restaurant-offline-status

Request body

Tenant'au' | 'dk' | 'es' | 'ie' | 'it' | 'no' | 'uk' | 'nz' enum

The two letter country code for the market in which the restaurant operates.

RestaurantIdstring

The unique identifier of the restaurant that has their offline status changed.

IsOfflineboolean

Represents the current offline status of the restaurant.

AllowRestaurantOverrideboolean nullable

Whether a restaurant should be allowed to reverse this offline status change through calls to the Restaurant Events endpoints.

Example request

{
  "Tenant": "uk",
  "RestaurantId": "123456",
  "IsOffline": true,
  "AllowRestaurantOverride": false
}

Response

OK