reservation-settings
Get merchant reservation settings
This endpoint provides all data that is required to initiate the reservation flow and is not part of the search endpoint.
Example curl:
curl https://{host}/v{X}/merchants/15/reservation-settings
Example response:
{
"areaIds": [
{
"id": 2,
"name": "Garden",
"priority": 10
}
],
"areaSelectionRequired": true,
"capacities": [
1,
2,
3,
4,
5,
6
],
"links": [
{
"href": "https://{host}/v{X}/merchants/15",
"method": "GET",
"rel": "parent"
},
{
"href": "https://{host}/v{X}/merchants/15/availabilities",
"method": "GET",
"rel": "availability_days"
},
{
"href": "https://{host}/v{X}/merchants/15/availabilities/2017-01-01/times",
"method": "GET",
"rel": "availability"
}
],
"merchantNewsletterSelectionRequired": true,
"minimumCapacityForEnquiries": 10,
"onlineReservationInterval": 60,
"reservationEnquiryEnabled": true,
"specialTerms": "This is any custom string for special terms",
"automaticConfirmation": true,
"ccvEnabled": true
}
get/v1/merchants/{merchantId}/reservation-settings
Request
- Base URLhttps://public-api.prod.quandoo.com
- AuthAPI key in header X-Quandoo-AuthToken
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
merchantIdinteger required
Id of the merchant
Response
Reservation settings response
Changes
No recorded changes to this operation across all 7 revisions of this API.