Destinations
List the destinations and countries your microsite sells, and read one destination in detail. A destination code is what Quote expects in destinationId.
Destinations are the search entry points for Quote. List them once per language, offer them in your search box, and send the chosen code as Quote's destinationId.
List destinations
One destination
Returns one destination with the same fields as the list, plus description.
Countries
Lists the countries for your microsite, for example to build a country filter.
Search entry points
| The guest starts from | Do this |
|---|---|
| A destination | List destinations, then Quote with destinationId. |
| An airport | List destinations with iata, for example ?iata=MAD, then Quote with destinationId. |
| A map or radius | Filter your local catalogue by geolocation, then Quote with up to 3,000 hotel codes that lie within about 200 km of each other. |
| One hotel | Quote single with the hotel code. |
Gotchas
- Destinations belong to the microsite. Use the
micrositeIdfrom your own credentials. - If a destination returns no hotels in Quote, check which suppliers your microsite has in Provider configurations, and the per-supplier errors in Quote's
providerTraces[]. - Searches need future dates. The docs samples use past dates, and a search for past dates returns nothing.
Related
- Quote: search by
destinationId - Provider configurations
- Hotel catalogue guide
Meal plans
The meal plans configured on your microsite, with their codes, types and descriptions. Use them to label the mealPlan codes you get from Quote.
Provider configurations
List the supplier connections configured on your microsite. Check it first when a destination or a hotel search returns nothing.