How Hotel Trader Shares Mealplan Information
For each available rate, the Hotel Trader GraphQL API exposes the following attributes that provide more information and details on what meals are included or excluded in the rate.
These attributes are present to help you utilize the information and better market hotels, create offers, and sell more effectively.
A complete mealplan mapping file will be provided once you start the integration process.
The Rooms node provides the following 3 attributes about the mealplan options:
Attribute | Datatype | Description |
---|---|---|
mealPlanDescription | Text | Provides additional details of what is included in this property’s all-inclusive rates. |
mealplanCode | Text | An alphanumeric code unique to each mealplan which can be used to map mealplan names and descriptions from the mapping file. |
mealplanName | Text | A short description of the mealplan code. |
breakfastIncluded (deprecated) | Boolean | Indicates whether this rate includes breakfast. |
lunchIncluded (deprecated) | Boolean | Indicates whether this rate includes lunch. |
dinnerIncluded (deprecated) | Boolean | Indicates whether this rate includes dinner. |
allInclusive (deprecated) | Boolean | When this is true, the rate includes breakfast, lunch, and dinner. Since hotels have their definition of ‘all-inclusive’, please read the mealPlanDescription for clarity on what is part of the all-inclusive package. |
allInclusive, breakfastIncluded, lunchIncluded, and dinnerIncluded are currently included in the response only for backward compatibility. These will soon be deprecated and no longer included in the response.