POST Orders Pickup Times

​

Returns the store's raw serving windows for an order type.

For the Cart 2.0 flow, use Orders Filtered Pickup Times instead. This endpoint does not apply preparation time, does not look at the cart, and does not filter out slots that order throttling has already filled — so a time it offers can still be rejected at checkout. It is kept for the simple case where you only want to show a store's opening windows, for example on a store information screen.

No customer token is required.

Headers

  • Type of content accepted by the API (application/json in most cases)

  • Application key for specific client app

  • Content-Type header

  • Version of the API to be used

  • Authorization header

  • Unique request identifier

Body

application/json
  • UUID of the singular point for the order type, taken from the venue's areas.

  • A later calendar day, where the store allows ordering days in advance. Omit for today.

  • Flat order type id. Only affects catering takeout; this endpoint otherwise returns the store's own serving windows. Note the filtered endpoint takes a nested order_type.id instead.

Responses

  • application/json
Request Example for post/orders/pickup-times
curl https://api-public-demo.menu.app/api/orders/pickup-times \
  --request POST \
  --header 'Accept: application/json' \
  --header 'Application: application-key' \
  --header 'Content-Type: application/json' \
  --header 'API-VERSION: ' \
  --header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937' \
  --data '{
  "singular_point_id": "9254eb1c-ce27-4fa5-993e-c39096e7141d"
}'
{
  "status": "OK",
  "code": 200,
  "data": {
    "pickup_times": [
      "2023-05-25 07:15:00"
    ]
  }
}