{{YourSetwebhookUrl}}

When a restaurant is busy, it may have to prevent new orders temporarily. When this happens, your channel will receive busy mode requests from Deliverect.

Request format

Have a look at an example request on the right. Busy mode requests contain accountId, locationId, and channelLinkId to point out the target store. There's also a status entry, which can take two (string) values outlined in the table below.

Status

Meaning

PAUSED

Request to enable busy mode. The store should be 'paused' or closed temporarily, indicating that the restaurant is currently busy.

ONLINE

This is a request to disable busy mode. The store should be open as normal.

The response should indicate pausing or unpausing the store was successful with a 200 OK status code. The body of the response should echo the current status of the store after having made the change ("PAUSED" or "ONLINE"). You can see this in the example responses.

{
    "accountId": "5b****71c6489f0029****d4",
    "locationId": "5c****ecc6489f0001****b8",
    "channelLinkId": "5e****abc11dec0001****9b",
    "status": "PAUSED"
}
{
    "accountId": "5b****71c6489f0029****d4",
    "locationId": "5c****ecc6489f0001****b8",
    "channelLinkId": "5e****abc11dec0001****9b",
    "status": "ONLINE"
}
{
  "status": "PAUSED"
}
{
  "status": "ONLINE"
}