API reference

HTS APIs

Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.

Schema

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

type
string enum
required

Which warning this is, and therefore which sub-field below is populated.

  • loyalty_not_applied: a loyalty membership supplied on the book request was rejected.
Values loyalty_not_applied · Example loyalty_not_applied
loyalty_not_applied
loyalty_not_applied

A 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
reason
string enum
required

Why 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 when loyalty.loyalty_transmission on the quote was ineligible; where it was unknown this 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.
Values not_supported_for_rateid_not_foundinvalid_formatunspecified · Example id_not_found
Example
{
  "type": "loyalty_not_applied",
  "loyalty_not_applied": {
    "reason": "id_not_found"
  }
}