API reference

HTS APIs

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

Schema

offer_conditions_request

Fields

offers
array of offer_conditions_offer
required

Offers to look up conditions for.

Items ≥ 1, ≤ 50
Show fields
Array of offer_conditions_offer · Offers to look up conditions for.
Items ≥ 1, ≤ 50
token
string
required

Opaque token from a shopping or orderReshop offer response.

Length ≥ 1, ≤ 1024 · Example eyJhbGciOiJIUzI1NiJ9...
currency
string
required

ISO 4217 currency code

Length ≥ 3, ≤ 3 · Pattern ^[A-Z]{3}$ · Example USD
locale
string
required

Language tag for localized content (e.g., en-US).

Length ≤ 35 · Pattern ^[a-zA-Z]{2,3}(-[a-zA-Z0-9]{2,8})*$ · Example en-US

Used by

PUT/offerConditionsGet amenities, UTAs, and policies for offers
Example
{
  "offers": [
    {
      "token": "eyJhbGciOiJIUzI1NiJ9..."
    }
  ],
  "currency": "USD",
  "locale": "en-US"
}