API reference

HTS APIs

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

Schema

loyalty

Whether this rate may participate in the property's loyalty program, and which program.

Absent when we have nothing to say about loyalty for the rate. Where present with eligibility of unknown, we are reporting that we have no claim either way — never that the rate is ineligible.

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
program_code
string

The program the rate may earn points in. Present whenever eligibility is eligible; absent when we have no claim, since there is no program to name.

Show fields
Object with no documented fields · The program the rate may earn points in. Present whenever `eligibility` is `eligible`; absent when we have no claim, since there is no program to name.
Example
{
  "eligibility": "eligible",
  "program_code": {}
}