HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
booking_warning
A non-fatal issue encountered while creating a booking. The reservation is confirmed regardless: a warning never means the booking failed.
New warning types are added over time, so treat an unrecognised type as a warning you do
not yet handle rather than as an error, and read the sub-field matching the type you know.
Fields
typeWhich warning this is, and therefore which sub-field below is populated.
loyalty_not_applied: a loyalty membership supplied on the book request was rejected.
loyalty_not_applied · Example loyalty_not_appliedloyalty_not_appliedA loyalty membership supplied on the book request was rejected. The reservation is confirmed; the stay will not be credited to that membership.
This warning is only emitted where the outcome is known. Pass-through is best effort: most supply sources never confirm either way, and silence produces no warning — so the absence of one means we sent what we could and have nothing to report, not that the stay was credited.
Show fields
reasonWhy the membership was rejected. This is a non-exhaustive list of enum values, which will be extended in the future.
not_supported_for_rate: the booking path for this rate cannot transmit a loyalty membership. Known in advance whenloyalty.loyalty_transmissionon the quote wasineligible; where it wasunknownthis may be the first confirmation.id_not_found: the membership number was not recognised.invalid_format: the membership number was malformed for this program.unspecified: rejected for a reason that does not map to the values above.
not_supported_for_rateid_not_foundinvalid_formatunspecified · Example id_not_found{
"type": "loyalty_not_applied",
"loyalty_not_applied": {
"reason": "id_not_found"
}
}