API reference

HTS APIs

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

Schema

occupancy

Number of guests that want to stay in the lodging

Fields

adults
integer
required

Number of adult guests

Range ≥ 1, ≤ 24 · Example 2
children
array of integer
required

List of children guest ages

pets
integer

Number of pets accompanying the guests

Range ≥ 0, ≤ 10 · Example 1
Example
{
  "adults": 2,
  "children": [
    3,
    5,
    9
  ],
  "pets": 1
}