Itineraries API
Access near-real-time booking data for your customers
With our Itineraries API, you can display your customers’ booking information and help them find booking-related products or services such as tours or experiences. You can also use the data from this API to analyze booking trends and create reports for your stakeholders.
Available fields
The tables below list the fields, including any nested objects, available through our push and pull delivery methods.
Field name | Definition | Example |
---|---|---|
itinerary_id | The itinerary number or point of sale order reference number. | 72622069245694 |
status | The status of the itinerary and of its individual items. | Possible values: booked cancelled |
creation_date * | The date a booking was initially made, represented in ISO8601 date format (YYYY-MM-DD). | 2023-02-05 |
update_date_time * | The last update date & time for the itinerary, represented in ISO8601 date format (YYYY-MM-dd"T"HH:mm:ss.SSSZ). | 2023-10-21T00:00:00.000-08:00 |
online | Indicates whether the itinerary was booked online or via an agent. Represented as a Boolean. | true |
package | Indicates whether the itinerary was booked online or via an agent. Represented as a Boolean. | false |
payment_type | The means of payment used at checkout. | Possible values: credit card points split pay |
point_of_sale_country_code | The country code for the point of sale from which the customer made the booking. Represented in two-letter ISO 3166-1 alpha-2 format. | GB |
purchaser | Identification of the person who made the booking. See purchaser table for listing of nested items. | |
property_booking_items | Lodging components booked as part of the itinerary. See property_booking_items table for listing of nested items. | |
flight_booking_items | Air components booked as part of the itinerary. See flight_booking_items table for listing of nested items. | |
car_booking_items | Car components booked as part of the itinerary. See car_booking_items table for listing of nested items. | |
activity_booking_items | Activity components booked as part of the itinerary. See activity_booking_items table for listing of nested items. | |
insurance_booking_items | Insurance components booked as part of the itinerary. See insurance_booking_items table for listing of nested items. | |
rate | The rate and pricing details of a booking item or of the whole itinerary. See rate table for listing of nested items. | |
coupon | The coupon applied to the itinerary, when applicable. See coupon table for listing of nested items. |
*Date fields are in Coordinated Universal Time (UTC).
**Personally Identifiable Information (PII) data. Be sure to handle this correctly per your company’s guidelines. Please include only when absolutely necessary.
*** Data for these fields will be made available between 6:00 PM and 8:00 PM UTC on the day after the booking was created or updated. Not currently available in near-real time.
Delivery methods
The Itineraries API delivers data in two ways: push mechanism and pull mechanism.
Push mechanism
The push service has been designed to send itinerary updates as they become available in near-real time, focusing on core itinerary details. This service targets the following use cases:
- Enable partners to display customers’ booking information on their website or app
- Enable partners to merchandize booking-related products and services
Events will be delivered via a Webhook to the URL you provide, in the format of an HTTP POST message. Bear in mind that messages may arrive unordered. Refer to the creation_date
and update_date_time
elements to determine ordering.
For details on the authentication process, see Getting started.
Pull mechanism
The pull service provides detailed itinerary data to support use cases including:
- Enable data analysis
- Enable data retrieval for time windows where the push delivery failed
- Enable help desk support in real time
This service consists of two HTTP GET endpoints: one makes available a list of itineraries created or updated in a specified time range, and the other retrieves specific itineraries by their ID. The query parameters are:
creation_date_start
creation_date_end
update_date_time_start
update_date_time_end
itinerary_id
For details on the authentication process, see Getting started.
API details
Explore the endpoint definitions on this page, then use an API testing software to get an understanding of how the examples and schema definitions compare to the actual output.