POST Working dates Venues Request

​

Endpoint will return working dates for the Venue for selected Order Type

Path Parameters

  • Venue ID

  • Type ID for the given Order Type. 1 - Dine-In (Full service), 4 - Dine-In (Quick service - Preorder), 6 - Takeout, 7 - Delivery, 8 - Curbside pickup, 9 - Foodspot, 10 - Catering Delivery, 11 - Catering Take-Out, 12 - Drive-Thru

Headers

  • Unique request identifier

  • Api version

  • Accept header

  • Application key

  • Authorization header

Body·

application/json

Working dates request model

  • foodspot_id is mandatory only for foodspot order type

Responses

  • application/json
Request Example for post/venues/{venue_id}/order-types/{order_type_id}/working-dates
curl 'https://api-public-demo.menu.app/api/venues/{venue_id}/order-types/6/working-dates' \
  --request POST \
  --header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937' \
  --header 'API-Version: ' \
  --header 'Accept: application/json' \
  --header 'Application: ' \
  --header 'Authorization: ' \
  --header 'Content-Type: application/json' \
  --data '{
  "foodspot_id": 114
}'
{
  "status": "OK",
  "code": 200,
  "data": {
    "working_dates": [
      {
        "dates": "2023-12-13",
        "working": true
      }
    ]
  }
}