{{YourSetwebhookUrl}}

A status update for an order happens when a POS performs an action for it.

Each incoming status update should be confirmed with an HTTP status 200.

See the link below for all statuses and their corresponding integer value.

See order statuses here

📘

If you receive a status that is not documented above, it can safely be ignored in most cases. Contact Deliverect to receive details.

In no case should an unknown status hinder your order processing flow.

When sending a status update for an order, make sure to include the 'channelOrderId'. The value for this corresponds to the '_id field' from the order that was originally sent.

📘

'DUPLICATE'

Only to be used if the order is already in the POS and was (accidentally) submitted a second time.

📘

'FINALIZED'

Note that this doesn't necessarily mean that the food was delivered to the end customer!

CANCEL vs CANCELED

CANCEL

Send this status from your channel to cancel an order on the POS (for example, when an end customer places an order but immediately changes their mind and cancels it).

CANCELED

The POS canceled the order. When you receive this status, you can confirm that the restaurant has canceled it. As long as you did not receive this status, your channel should not yet assume the cancellation was successful.

In this case, Deliverect will resend the order to the POS with the same 'channelOrderId' and 'channelOrderDisplayId'.

An example of a status update for a 'CANCELED' order is visible from the drop-down on the right.

You can find more information on how your channel can implement canceling orders here.

📘

Your channel is not yet required to support order cancellation in order to become or remain certified.

{
    "orderId": "<<deliverectOrderId>>",
    "status": 2,
    "timeStamp": "2022-01-31T11:48:02Z",
    "receiptId": "<<receiptId>>",
    "reason": "Order received",
    "channelOrderId": "TEST164362945032",
    "location": "<<deliverectLocationId>>",
    "channelLink": "<<channelLinkId>>"
}
{
    "orderId": "<<deliverectOrderId>>",
    "status": 110,
    "timeStamp": "2022-01-31T11:48:02Z",
    "receiptId": "<<receiptId>>",
    "reason": "Items out of stock",
    "channelOrderId": "<<ChannelOrderId>>",
    "location": "<<deliverectLocationId>>",
    "channelLink": "<<channelLinkId>>"
  }
{
  "result": "OK"
}
{
  "result": "OK"
}