Returns a restaurant's current availability to accept online orders. A restaurant's availability is either ONLINE
or OFFLINE
. When a restaurant is offline, you can still place orders via the orders API, however Toast support recommends waiting until the restaurant's status is online.
Successful operation
curl -i -X GET \ https://toast-api-server/restaurant-availability/v1/availability \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Toast-Restaurant-External-ID: string'
{- "restaurantGuid": "string",
- "status": "ONLINE",
- "reasonKey": "AVAILABILITY_ONLINE",
- "reason": "string"
}