Please be advised we are releasing an update regarding Hotel-X Buyers API as per below:
Minor changes
- Added new RateRule: Custom
Custom RateRule
This RateRule has been created in order to typify rates that do not follow a standard and contain special restrictions (restrictions not typified by TravelgateX).
Example:
A Seller wants to sell a “COVID” rate that should only be sold to workers directly involved in the fight against COVID. For them, it is just another rate (like a Honeymoon rate), so they expect the Buyer to receive it as such.
In our Hotel-X API Schema, you will find Custom RateRules as specified below:
{
“rateRulesExtended”: [
{
“type”: “CUSTOM”,
“rates”: {
“code”: “COVID”,
“supplierCode”: “COVID”,
“description”: “Only for workers directly involved”,
“restrictions”: [
{
“type”: “OTHERS”,
“code”: “COVID”,
“description”: “Only for workers directly involved”
}
]
}
}
]
}