API reference
HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
Schema
shopfeed_request
Request for the shopfeed operation
Fields
request_idstring · uuid
required
Unique value used to identify this request. If provided to us during operational questions, it will help us provide better support.
Example
123e4567-e89b-12d3-a456-426614174000lodging_idsarray of lodging_id
required
List of lodging IDs to shop feed for. (1 to 200)
Items ≥ 1, ≤ 200
point_of_salePointOfSale
required
Description of the point of sale where the booking is made. This is typically the user's location.
Show fields
countrystring
required
Country code (ISO 3166-1 alpha-2)
Pattern
^[A-Z]{2}$ · Example UScheck_instring · date
required
The check-in date. Notes:
- Check-in cannot be in the past.
- Check-in date can be at most 1 year in the future.
Example
2022-01-01check_outstring · date
required
The checkout date. Note:
- Checkout date needs to be at least one day after the check-in date.
- Checkout date can be at most 1 year after the check-in date.
Example
2022-01-02occupancyoccupancy
required
Number of guests that want to stay in the lodging
Show fields
adultsinteger
required
Number of adult guests
Range ≥ 1, ≤ 24 · Example
2childrenarray of integer
required
List of children guest ages
petsinteger
Number of pets accompanying the guests
Range ≥ 0, ≤ 10 · Example
1currencystring enum
required
Requested currency code for the owed now portion of the rates, in ISO 4217 format.
Values
USD · Example USDUsed by
Example
{
"request_id": "123e4567-e89b-12d3-a456-426614174000",
"lodging_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"point_of_sale": {
"country": "US"
},
"check_in": "2022-01-01",
"check_out": "2022-01-02",
"occupancy": {
"adults": 2,
"children": [
3,
5,
9
],
"pets": 1
},
"currency": "USD"
}