POST https://webhook.example.com

Preparation time update for an order happens when a POS triggers that action in order to optimize the order flow in the kitchen and pick up procedure for drivers. Confirmation of each incoming preparation time with an HTTP status 200 is necessary.
The new pickupTime sent to the channel will take into consideration the update sent by the POS. The channel can consider as valid this new pickupTime.

application/json

Body

  • channelOrderId string Required

    The unique ID of the order sourced from the ordering channel

  • orderId string Required

    The unique ID of the order in Deliverect

  • location string Required

    The unique ID of the location in Deliverect

  • status integer Required

    The status from the supported list of values for order status updates.

  • pickupTime string(date-time) Required

    The updated pickup time in UTC (yyyy-MM-ddTHH:mm:ssZ)

Responses

  • 200 application/json

    Ok

  • 400 application/json

    Bad Request

POST /channel/prep_time
Request example
{
  "channelOrderId": "X7CESD",
  "orderId": "5e****abc11dec0001****9b",
  "location": "5e****abc11dec0001****0b",
  "status": 20,
  "pickupTime": "2021-04-20T16:20:00Z"
}