API reference

HTS APIs

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

Schema

quoted_loyalty

Whether the quoted rate may participate in the property's loyalty program, and whether this booking can transmit the guest's loyalty number to the supplier.

Extends the shop-time loyalty object with loyalty_transmission, which is only meaningful once a rate is quoted: the booking path is settled at that point, and collecting a loyalty number is a decision the caller faces on the way to book rather than while rendering search results.

Eligibility and transmission are independent. A rate may participate in the program with no way for us to transmit a number, and we can often transmit a number while having no eligibility claim for the rate.

Fields

eligibility
string enum
required

Whether the supplier has indicated this rate plan may participate in the property's loyalty program.

  • eligible: the rate may participate in the property's loyalty program.
  • unknown: no claim either way. Never present this to a guest as "no points on this rate" — a supplier that says nothing is not saying the rate is ineligible.
Values eligibleunknown · Example eligible
loyalty_transmission
string enum
required

Whether a booking with this rate can transmit the guest's loyalty number to the supplier.

  • eligible: this booking can transmit the guest's loyalty number.
  • ineligible: this booking cannot. The guest should verify at check-in that their loyalty number has been added.
  • unknown: the supplier may not be able to receive the loyalty number at time of booking. The guest should verify at check-in that it has been added.

Independent of eligibility, which describes the rate rather than the booking path.

Advisory only: hotel_loyalty is always accepted on the book request whatever this says.

Values eligibleineligibleunknown · Example eligible
program_code
string

The program the quoted rate may earn points in. Present whenever eligibility is eligible. Supply the guest's membership for this program as primary_guest.hotel_loyalty on the book request.

Show fields
Object with no documented fields · The program the quoted rate may earn points in. Present whenever `eligibility` is `eligible`. Supply the guest's membership for this program as `primary_guest.hotel_loyalty` on the book request.
Example
{
  "eligibility": "eligible",
  "program_code": {},
  "loyalty_transmission": "eligible"
}