POST Working dates Venues Request
Endpoint will return working dates for the Venue for selected Order Type
Path Parameters
- Type: stringvenue
_id requiredVenue ID
- Type: integerorder
_type _id requiredType 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
- Type: stringX
- Request - I D requiredUnique request identifier
- Type: stringA
P I - Version requiredApi version
- Type: stringAcceptrequired
Accept header
- Type: stringApplicationrequired
Application key
- Type: stringAuthorizationrequired
Authorization header
Body·
application/json
Working dates request model
- Type: numberfoodspot
_id 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
}
]
}
}