HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
hotel_loyalty
A guest's membership in a hotel loyalty program, supplied so the provider can credit the stay to their account.
The membership is passed to the provider on a best-effort basis. It is never validated by this API beyond the format constraints below, and a number the provider does not recognise does not prevent the reservation from being confirmed. Supplying a membership is optional: a loyalty-eligible rate can be booked without one.
Fields
program_codeThe 3-character code identifying a hotel loyalty program.
Codes are added as more programs are supported, so treat an unrecognised code as a program you do not yet know about rather than as invalid.
Eligibility is determined by the provider from the rate plan; it is never derived from the traveller, and no loyalty membership is required to shop or book a loyalty-eligible rate.
^[A-Z0-9]{3}$loyalty_numberThe guest's membership number for this loyalty program.
123456789{
"program_code": "string",
"loyalty_number": "123456789"
}