Quandoo · JSON Structure
Quandoo Public Partner Api Merchant Reservation Enquiry Data Structure
MerchantReservationEnquiryData schema from Quandoo Public Partner API
Type: object
Properties: 3
Required: 3
RestaurantReservationsBookingAvailabilityMerchantsMarketplace
MerchantReservationEnquiryData is a JSON Structure definition published by Quandoo, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
reservationEnquiry
customer
tracking
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/quandoo/refs/heads/main/json-structure/quandoo-public-partner-api-merchant-reservation-enquiry-data-structure.json",
"name": "MerchantReservationEnquiryData",
"description": "MerchantReservationEnquiryData schema from Quandoo Public Partner API",
"type": "object",
"required": [
"customer",
"reservationEnquiry",
"tracking"
],
"properties": {
"reservationEnquiry": {
"type": "object",
"required": [
"capacity",
"endDateTime",
"id",
"merchantId",
"message",
"startDateTime"
],
"properties": {
"id": {
"type": "string",
"description": "The unique identifier of the reservation enquiry for the calling agent (Agent dependent field) or NULL if the agent identifier should be created. Optional."
},
"merchantId": {
"type": "int32",
"description": "The ID of the merchant at which this reservation will be made."
},
"capacity": {
"type": "int32",
"description": "The capacity (people count) of the reservation enquiry.",
"minimum": 1
},
"startDateTime": {
"type": "string",
"description": "The start date and time of the potential reservation. Format: yyyy-MM-ddTHH:mm:ssZ"
},
"endDateTime": {
"type": "string",
"description": "The end date and time of the potential reservation. Format: yyyy-MM-ddTHH:mm:ssZ"
},
"message": {
"type": "string",
"description": "A message from the customer.",
"minLength": 0,
"maxLength": 5000
}
}
},
"customer": {
"type": "object",
"required": [
"country",
"locale",
"phoneNumber"
],
"properties": {
"id": {
"type": "string",
"description": "Identifier of the customer for the calling agent. (Agent dependent field)"
},
"firstName": {
"type": "string",
"description": "The first name of the customer. Optional."
},
"lastName": {
"type": "string",
"description": "The last name of the customer."
},
"emailAddress": {
"type": "string",
"description": "The email address of the customer."
},
"phoneNumber": {
"type": "string",
"description": "The phone number of the customer. The expected format is E164 e.g. +4930120765890"
},
"locale": {
"type": "string",
"description": "The locale of the customer. E.g. de_DE"
},
"country": {
"type": "string",
"description": "The 2 letter ISO country of the customer, e.g. DE"
},
"subscriptions": {
"type": "array",
"description": "The requested subscriptions, e.g. QUANDOO, MERCHANT",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"enum": [
"QUANDOO",
"MERCHANT"
],
"example": "QUANDOO"
}
}
}
}
}
},
"tracking": {
"type": "object",
"required": [
"agent"
],
"properties": {
"agent": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "int32",
"description": "An agent id. Required.",
"example": 1
}
}
},
"cookie": {
"type": "object",
"properties": {
"tracking": {
"type": "string",
"description": "A tracking string to be stored with the reservation. Optional.",
"example": "string"
},
"referenceId": {
"type": "string",
"description": "A reference id to be stored with the reservation. Optional.",
"example": "88086"
}
}
}
}
}
}
}