API reference

HTS APIs

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

Schema

sales_environment

Defines the sales environment in which rates will be sold. This determines the type of inventory and rates to be returned. This is a non-exhaustive list of enum values, which will be extended in the future.

  • lodging_only: Use when selling the lodging as an individual product.
  • lodging_package: Use when selling the lodging with another travel product (e.g. flight, car rental, etc.)

Fields

string enum
Values lodging_onlylodging_package · Example lodging_only

Defines the sales environment in which rates will be sold. This determines the type of inventory and rates to be returned. This is a non-exhaustive list of enum values, which will be extended in the future.

  • lodging_only: Use when selling the lodging as an individual product.
  • lodging_package: Use when selling the lodging with another travel product (e.g. flight, car rental, etc.)
Example
"lodging_only"