API reference

HTS APIs

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

Schema

merchandising_context

Context for which generated offers will be merchandised on the partner's site. Defaults to pre-booking if not specified.

Fields

Context for which generated offers will be merchandised on the partner's site. Defaults to pre-booking if not specified.

Exactly one of the following, selected by type:
post_booking (post_booking) post_booking
type
string
required

value: post_booking

booked_at
string · date-time
required

Date and time at which the booking was made, as a UTC RFC3339 formatted datetime.

booking_references
map_string
required

Record locators if PSS, Order ID if OMS, etc. Used to retrieve the flight booking. It's a dictionary of key/value pairs. The keys can be anything, but they are referenced in the configuration when retrieving the booking, so those must align.

pre_booking (pre_booking) pre_booking
type
string
required

value: pre_booking

Example
{
  "type": "string",
  "booked_at": "2026-12-10T15:00:00Z",
  "booking_references": {}
}