This guide will be removed on April 29, 2022. Please use our new, easier-to-use Toast technical documentation site. All updated content is on the new site.

toggle_availability_offline

The restaurant has turned off online ordering for that ordering channel. Attributes in the toggle_availability_offline event’s payload include:

Value Description

restaurantGuid

A unique Toast POS identifier for the restaurant.

data type: string

format: uuid

status

OFFLINE

data type: string

reasonKey

TOGGLE_DISABLED

The machine-readable reason why the restaurant is unavailable to accept online orders.

data type: string

reason

User disabled integration

The human-readable reason why the restaurant is unavailable to accept orders.

data type: string

Payload for a toggle_availability_offline event when a restaurant is offline and has disabled online ordering

{
  "timestamp": "2021-08-23T16:40:00.063Z",
  "eventCategory": "restaurant_availability_toggle",
  "eventType": "toggle_availability_offline",
  "guid": "bf12cb0a-173a-4e66-bd3c-8121d4a5287f",
  "details": {
    "restaurantGuid": "27d35c6a-7068-49f7-bee0-25e654e1227a",
    "status": "OFFLINE",
    "reasonKey": "TOGGLE_DISABLED",
    "reason": "User disabled integration"
  }
}