v1

latestOpenAPI 3.0.02026-07-1498671635.3 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

AllowRestaurantOverrideboolean nullable

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

IsOfflineboolean

Represents the current offline status of the restaurant.

RestaurantIdstring

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

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

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

Example request

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

Response

OK