このコンテンツはこの言語ではまだ利用できません

API delivery for Itineraries

With Itineraries, 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 to analyze booking trends and create reports for your stakeholders.

Delivery options

Your API delivery of Itineraries data can use either a push or 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 transaction-level details. This option allows you to:

  • Display customers’ booking information on your website or app
  • Offer your customers additional products and services to purchase for their trip

Push events will be delivered via a Webhook to the URL you provide, in the format of an HTTP POST message. These messages may arrive unordered, so refer to the creation_date and update_date_time elements to determine order.

For details on how to adopt this delivery option, see API setup.

Pull mechanism

The pull service provides detailed itinerary data to support:

  • Data analysis
  • Data retrieval for time windows where the push delivery failed
  • Help desk investigations

This service consists of two HTTP GET endpoints that allow you to:

  • Create a list of itineraries created or updated in a specified time range using the creation_date_start, creation_date_end, update_date_time_start, and update_date_time_end variables
  • Retrieve specific itineraries by their itinerary_id

For details on the authentication process, see API setup.

Available fields

The tables below list the fields, including any nested objects, available through our push and pull delivery methods.

Field names that begin with a name followed by a period (for example, <variable>.<nested variable>) indicate a nesting relationship.

White Label Template

Field nameDefinitionExample
itinerary_idThe itinerary number or point of sale order reference number.72622069245694
statusThe status of the itinerary and of its individual items.Possible values:
confirmed
cancelled
creation_date*The date a booking was initially made, represented in ISO 8601 date format (YYYY-MM-DD).2023-02-05
update_date_time*The last update date and time for the itinerary, represented in ISO 8601 date format (YYYY-MM-dd"T"HH:mm:ss.SSSZ).2023-10-21T00:00:00.000Z
onlineIndicates whether the itinerary was booked online (true) or via an agent (false). Represented as a Boolean.true
packageIndicates whether the itinerary is a part of a package or a standalone booking. Represented as a Boolean.false
payment_typeThe means of payment used at checkout.Possible values:
credit card
points
split pay
point_of_sale_country_codeThe 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
purchaserIdentification of the person who made the booking. See purchaser table for listing of nested items. 
property_booking_itemsLodging components booked as part of the itinerary. See property_booking_items table for listing of nested items. 
flight_booking_itemsAir components booked as part of the itinerary. See flight_booking_items table for listing of nested items. 
car_booking_itemsCar components booked as part of the itinerary. See car_booking_items table for listing of nested items. 
activity_booking_itemsActivity components booked as part of the itinerary. See activity_booking_items table for listing of nested items. 
insurance_booking_itemsInsurance components booked as part of the itinerary. See insurance_booking_items table for listing of nested items. 
rateThe rate and pricing details of a booking item or of the whole itinerary. See rate table for listing of nested items. 
couponThe coupon applied to the itinerary, when applicable. See coupon table for listing of nested items. 
|

purchaser

These fields identify the person who made the booking.

Field nameDefinitionExample
purchaser.email**Email address of the person who made the booking.smith@example.com
purchaser.loyalty_id**Loyalty program membership identifier.12345678
purchaser.first_name**First name of the person who made the booking.Jane
purchaser.last_name**Last name of the person who made the booking.Smith

property_booking_items

These fields list the lodging components booked as part of the itinerary.

Field nameDefinitionExample
booking_item_idIdentifier of a specific element booked as part of an itinerary.1400882912
statusStatus of the specific lodging element.Possible values:
confirmed
cancelled
checkin_date*Date of check-in for the corresponding lodging element. Represented in ISO 8601 date format (YYYY-MM-DD).2023-02-01
checkout_date*Date of check-out for the corresponding lodging element. Represented in ISO 8601 date format (YYYY-MM-DD).2023-02-05
property.idExpedia Group’s unique identifier for the hotel or vacation rental property.1400882912
property.chain_nameName of the chain the property belongs to, when applicable.Independent
property.brand_nameName of the brand the property belongs to, when applicable. A chain may have multiple brands.Savoy Signature
property.nameName of the hotel or vacation rental.Hotel 1
property.cityName of the city where the property is located.Toronto
property.state_province_nameName of the state or province where the property is located.Ontario
property.country_codeCode of the country where the property is located. Represented in two-letter ISO 3166-1 alpha-2 format.CA
property.star_ratingStar rating of the property.3.0
room_nameThe type of the booked room, as defined by the hotel or vacation rental company.Comfort double room with private bathroom
adult_countNumber of adults included on the corresponding booking.2
child_countNumber of children included on the corresponding booking.0
expedia_collectBoolean value representing whether the booking has been paid for at checkout (true) or must be paid directly to the provider (false).true
property_confirmation_id***Confirmation number provided by the hotel or vacation rental company.1516171819
rateThe rate and pricing details of the lodging booking. See rate table for listing of nested items. 

flight_booking_items

These fields list the air components booked as part of the itinerary.

Field nameDefinitionExample
booking_item_idIdentifier of a specific element booked as part of an itinerary.1400882911
statusStatus of the specific air trip element.Possible values:
confirmed
cancelled
departure_date*Start date of the corresponding air trip element. Represented in ISO 8601 date format (YYYY-MM-DD).2023-02-01
arrival_date*End date for the corresponding air trip element. Represented in ISO 8601 date format (YYYY-MM-DD).2023-02-02
airline.plating_carrier_nameName of the airline that issued the ticket.Air Canada
airline.plating_carrier_codeInternational Air Transport Association (IATA) code of the airline that issued the ticket.AC
carrier_pnrPassenger name on record with the airline that issued the ticket.SMITH
trip_typeThe type of trip booked.Possible values:
one way
round trip
multiple destinations
fare_classThe fare class of the ticket.Economy
airport_origin_codeThe IATA code for the origin airport.LHR
airport_origin_locationThe location of the origin airport.London, GB (LHR-Heathrow)
airport_destination_codeThe code for the destination airport. Represented in IATA format.YYZ
airport_destination_locationThe location of the destination airport.Toronto, ON (YYZ-Lester B. Pearson Intl.)
ticket_numberTicket number for the flight.123456789
expedia_collectBoolean value representing whether the booking has been paid for at checkout (true) or must be paid directly to the provider (false).true
segment_countThe number of flight segments for the flight ticket.1
rateThe rate and pricing details of the flight booking. See rate table for listing of nested items. 

car_booking_items

These fields list the car components booked as part of the itinerary.

Field nameDefinitionExample
booking_item_idIdentifier of a specific element booked as part of an itinerary.1400882910
statusStatus of the specific car trip element.Possible values:
confirmed
cancelled
pickup_date*Start date for the car trip element. Represented in ISO 8601 date format (YYYY-MM-DD).2023-02-02
return_date*End date for the car trip element. Represented in ISO 8601 date format (YYYY-MM-DD).2023-02-05
rental_company.name***Name of the car rental company.Hertz
car_type***Type of car rented.2/4 door compact
pickup_locationPickup location for the car.Deer Lake, NL (YDF-Deer Lake Regional)
pickup_country_code***Country code for the car pickup location. Represented in two-letter ISO 3166-1 alpha-2 format.CA
return_locationReturn location for the car.Deer Lake, NL (YDF-Deer Lake Regional)
return_country_code***Country code for the car return location. Represented in two-letter ISO 3166-1 alpha-2 format.CA
trip_typeThe type of trip booked.Possible values:
one way
round trip
multiple destinations
rental_company_confirmation_id***Confirmation number provided by the car rental company.ABC1234
expedia_collectBoolean value representing whether the booking has been paid for at checkout (true) or must be paid directly to the provider (false).false
rateThe rate and pricing details of the car booking. See rate table for listing of nested items. 

activity_booking_items

These fields list the activity components booked as part of the itinerary.

Field nameDefinitionExample
booking_item_idIdentifier of a specific element booked as part of an itinerary.1400882910
statusStatus of the specific activity.Possible values:
confirmed
cancelled
activity_start_date*Start date for the activity. Represented in ISO 8601 date format (YYYY-MM-DD).2023-02-03
activity_end_date*End date for the activity. Represented in ISO 8601 date format (YYYY-MM-DD).2023-02-03
vendor.name***Name of the vendor providing the activity.Olivia’s Tours
vendor.city***City where the activity vendor is located.Deer Lake, NL (YDF-Deer Lake Regional)
vendor.country_code***Country code where the activity vendor is located. Represented in two-letter ISO 3166-1 alpha-2 format.CA
offering_name***Name of the activity.Passions of Paradise Great Barrier Reef
expedia_collectBoolean value representing whether the booking has been paid for at checkout (true) or must be paid directly to the provider (false).true
rateThe rate and pricing details of the activity booking. See rate table for listing of nested items. 

insurance_booking_items

These fields list the insurance components booked as part of the itinerary.

Field nameDefinitionExample
booking_item_idIdentifier of a specific element booked as part of an itinerary.1400882610
statusStatus of the specific insurance selected.Possible values:
confirmed
cancelled
rateThe rate and pricing details of the insurance selected. See rate table for listing of nested items. 

rate

These fields list the rate and pricing details of a booking item or of the whole itinerary. They include nested values that describe the monetary value of the booking, broken down by gross booking value and taxes and fees.

Field nameDefinitionExample
rate_plan_nameThe name of the rate plan used for pricing of the item. Available for property booking items only.Room only
rate_plan_typeThe type of rate used for the booking. Available for property booking items only.Distribution rate
refundableWhether the corresponding booking component is refundable (true) or not (false).true
pricingObject capturing the monetary value of the booking, broken down by gross booking value and taxes and fees. 
pricing.gross_booking_valueObject capturing the monetary value of the booking. 
pricing.gross_booking_value.billable_currencyObject representing the monetary value of the booking in the currency used for the payment. 
pricing.gross_booking_value.billable_currency.currencyCurrency in which the booking is paid by the customer. Represented in ISO 4217 format.GPB
pricing.gross_booking_value.billable_currency.valueThe gross booking value.2520.80
pricing.taxes_and_feesThe value and currency of the taxes and fees for the booking. 
pricing.taxes_and_fees.billable_currencyThe monetary value of the taxes and fees for the booking, in the currency used for the payment. 
pricing.taxes_and_fees.billable_currency.currencyCurrency in which the booking is paid by the customer. Represented in ISO 4217 format.GBP
pricing.taxes_and_fees.billable.currency.valueThe gross booking value of the booking.491.10

coupon

Field nameDefinitionExample
code***Coupon code used for the booking.ABCD
name***Coupon name.PRIME
description***Description of the coupon.BoGo 5%
currency***Currency in which the coupon value has been applied. Represented in ISO 4217 format.GBP
value***Monetary value of the coupon.126.04

Notes for all White Label Template fields

* Date fields are in Coordinated Universal Time (UTC).
** This represents 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.

Travel Agent Affiliate Program (TAAP)

Field nameDefinitionExample
itinerary_idThe itinerary number or point of sale order reference number.72622069245694
statusThe status of the itinerary and of its individual items.Possible values:
confirmed
cancelled
creation_date*The date a booking was initially made, represented in ISO 8601 date format (YYYY-MM-DD).2023-02-05
update_date_time*The last update date and time for the itinerary, represented in ISO 8601 date format (YYYY-MM-dd"T"HH:mm:ss.SSSZ).2023-10-21T00:00:00.000Z
onlineIndicates whether the itinerary was booked online (true) or via an agent (false). Represented as a Boolean.true
point_of_sale_country_codeThe code for the country in which the customer made the booking. Represented in two-letter ISO 3166-1 alpha-2 format.GB
purchaserIdentification of the person who made the booking. See purchaser table for listing of nested items. 
agencyIdentification of the TAAP agency and agent who made the booking. See agency table for listing of nested items. 
paymentPayment information for the itinerary. See payment table for listing of nested items. 
property_booking_itemsLodging components booked as part of the itinerary. See property_booking_items table for listing of nested items. 
flight_booking_itemsAir components booked as part of the itinerary. See flight_booking_items table for listing of nested items. 
car_booking_itemsCar components booked as part of the itinerary. See car_booking_items table for listing of nested items. 
activity_booking_itemsActivity components booked as part of the itinerary. See activity_booking_items table for listing of nested items. 
rateThe rate and pricing details of a booking item or of the whole itinerary. See rate table for listing of nested items. 
earningsThe commission details of a booking item or of the whole itinerary. See earnings table for listing of nested items. 
|

purchaser

These fields identify the person who'll be traveling.

Field nameDefinitionExample
purchaser.email**Email address of the traveler.smith@example.com
purchaser.first_name**First name of the traveler.Jane
purchaser.last_name**Last name of the traveler.Smith

agency

These fields identify the TAAP agency and agent who made the booking.

Field nameDefinitionExample
agency.nameName of the TAAP agency that made the booking.World Travel
agency.idTracking code of the TAAP agency who made the booking.WS02555
agency.agent.first_name**First name of the TAAP agent who made the booking.Bob
agency.agent.last_name**Last name of the TAAP agent who made the booking.Jones
agency.agent.email**Email address of the TAAP agent who made the booking.bjones@worldtravel.com

payment

These fields contain payment details for the itinerary.

Field nameDefinitionExample
payment_typeThe means of payment used at checkout.Possible values:
credit card
points
split pay
statusIndicates whether the itinerary has been paid for.Possible values:
paid
unpaid
deferredWhether the payment for the itinerary was deferred (true) or paid (false). Represented as a Boolean.true
payment_due_dateThe payment due date ISO 8601 date format (YYYY-MM-DD). Only applicable for deferred payments.2023-02-05
payeeIndicates who is responsible for making the itinerary payment.Possible values:
agency
customer

property_booking_items

These fields list the lodging components booked as part of the itinerary.

Field nameDefinitionExample
booking_item_idIdentifier of a specific element booked as part of an itinerary.1400882912
statusStatus of the specific lodging element.Possible values:
confirmed
cancelled
checkin_date*Date of check-in for the corresponding lodging element. Represented in ISO 8601 date format (YYYY-MM-DD).2023-02-01
checkout_date*Date of check-out for the corresponding lodging element. Represented in ISO 8601 date format (YYYY-MM-DD).2023-02-05
property.idExpedia Group’s unique identifier for the hotel or vacation rental property1400882912
property.chain_nameName of the chain the property belongs to, when applicable.Independent
property.brand_nameName of the brand the property belongs to, when applicable. A chain may have multiple brands.Savoy Signature
property.nameName of the hotel or vacation rental.Hotel 1
property.cityName of the city where the property is located.Toronto
property.state_province_nameName of the state or province where the property is located.Ontario
property.country_codeCode of the country where the property is located. Represented in in two-letter ISO 3166-1 alpha-2 format.CA
property.star_ratingStar rating of the property.3.0
room_nameThe type of the booked room, as defined by the hotel or vacation rental company.Comfort double room with private bathroom
adult_countNumber of adults included on the booking.2
child_countNumber of children included on the booking.0
expedia_collectBoolean value representing whether the booking has been paid for at checkout (true) or must be paid directly to the provider (false).true
property_confirmation_id***Confirmation number provided by the hotel or vacation rental company.1516171819
rateThe rate and pricing details of the lodging booking. See rate table for listing of nested items. 

flight_booking_items

These fields list the air components booked as part of the itinerary.

Field nameDefinitionExample
booking_item_idIdentifier of a specific element booked as part of an itinerary.1400882911
statusStatus of the specific air trip element.Possible values:
confirmed
cancelled
departure_date*Start date of the corresponding air trip element. Represented in ISO 8601 date format (YYYY-MM-DD).2023-02-01
arrival_date*End date for the corresponding air trip element. Represented in ISO 8601 date format (YYYY-MM-DD).2023-02-02
airline.plating_carrier_nameName of the airline that issued the ticket.Air Canada
airline.plating_carrier_codeIATA code of the airline that issued the ticket.AC
carrier_pnrPassenger name on record with the airline that issued the ticket.SMITH
trip_typeThe type of trip booked.Possible values:
one way
round trip
multiple destinations
fare_classThe fare class of the ticket.Economy
airport_origin_codeThe IATA code for the origin airport.LHR
airport_origin_locationThe location of the origin airport.London, GB (LHR-Heathrow)
airport_destination_codeThe code for the destination airport. Represented in IATA format.YYZ
airport_destination_locationThe location of the destination airport.Toronto, ON (YYZ-Lester B. Pearson Intl.)
ticket_numberTicket number for the flight.123456789101
expedia_collectBoolean value representing whether the booking has been paid for at checkout (true) or must be paid directly to the provider (false).true
segment_countThe number of flight segments for the ticket.1
rateThe rate and pricing details of the flight booking. See rate table for listing of nested items. 

car_booking_items

These fields list the car components booked as part of the itinerary.

Field nameDefinitionExample
booking_item_idIdentifier of a specific element booked as part of an itinerary.1400882910
statusStatus of the specific car trip element.Possible values:
confirmed
cancelled
pickup_date*Start date for the car trip element. Represented in ISO 8601 date format (YYYY-MM-DD).2023-02-02
return_date*End date for the car trip element. Represented in ISO 8601 date format (YYYY-MM-DD).2023-02-05
rental_company.name***Name of the car rental company.Hertz
car_type***Type of car rented.2/4 door compact
pickup_locationPickup location for the car.Deer Lake, NL (YDF-Deer Lake Regional)
pickup_country_code***Country code for the car pickup location. Represented in two-letter ISO 3166-1 alpha-2 format.CA
return_locationReturn location for the car.Deer Lake, NL (YDF-Deer Lake Regional)
return_country_code***Country code for the car return location. Represented in two-letter ISO 3166-1 alpha-2 format.CA
trip_typeThe type of trip booked.Possible values:
one way
round trip
multiple destinations
rental_company_confirmation_id***Confirmation number provided by the car rental company.ABC1234
expedia_collectBoolean value representing whether the booking has been paid for at checkout (true) or must be paid directly to the provider (false).false
rateThe rate and pricing details of the car booking. See rate table for listing of nested items. 

activity_booking_items

These fields list the activity components booked as part of the itinerary.

Field nameDefinitionExample
booking_item_idIdentifier of a specific element booked as part of an itinerary.1400882910
statusStatus of the specific activity.Possible values:
confirmed
cancelled
activity_start_date*Start date for the activity. Represented in ISO 8601 date format (YYYY-MM-DD).2023-02-03
activity_end_date*End date for the activity. Represented in ISO 8601 date format (YYYY-MM-DD).2023-02-03
vendor.name***Name of the vendor providing the activity.Olivia’s Tours
vendor.city***City where the activity vendor is located.Deer Lake, NL (YDF-Deer Lake Regional)
vendor.country_code***Country code where the activity vendor is located. Represented in two-letter ISO 3166-1 alpha-2 format.CA
offering_name***Name of the activity.Humber River Trail Hike
expedia_collectBoolean value representing whether the booking has been paid for at checkout (true) or must be paid directly to the provider (false).true
rateThe rate and pricing details of the activity booking. See rate table for listing of nested items. 
earningsThe commission details of the activity booking item. See earnings table for listing of nested items. 

rate

These fields list the rate and pricing details of a booking item or of the whole itinerary. They include nested values that describe the monetary value of the booking, broken down by gross booking value and taxes and fees.

Field nameDefinitionExample
refundableWhether the corresponding booking component is refundable (true) or not (false).true
pricingObject capturing the monetary value of the booking, broken down by gross booking value and taxes and fees. 
pricing.gross_booking_valueThe monetary value of the booking including taxes and fees. 
pricing.gross_booking_value.billable_currencyThe monetary value of the booking in the currency used for the payment. 
pricing.gross_booking_value.billable_currency.currencyCurrency in which the booking is paid by the customer. Represented in ISO 4217 format.GPB
pricing.gross_booking_value.billable_currency.valueThe gross booking value.2520.80
pricing.taxes_and_feesThe value and currency of the taxes and fees for the booking. 
pricing.taxes_and_fees.billable_currencyThe monetary value of the taxes and fees for the booking, in the currency used for the payment. 
pricing.taxes_and_fees.billable_currency.currencyCurrency in which the booking is paid by the customer. Represented in ISO 4217 format.GBP
pricing.taxes_and_fees.billable.currency.valueThe gross booking value of the booking.491.10

earnings

Field nameDefinitionExample
commissionObject representing the commission amount for the booking or item, included in the gross booking value. 
commission.billable_currencyObject representing the commission amount in the payment currency. 
commission.billable_currency.currencyCurrency of the commission value, represented in ISO 4217 formatUSD
commission.billable_currency.valueMonetary value of the commission.100.25
service_chargeObject representing service fees applied by a TAAP agency to the itinerary. 
service_charge.amountObject representing the monetary value of the service fee applied by a TAAP agency to the itinerary. 
service_charge.amount.billable_currencyObject representing the service fee value amount in the payment currency. 
service_charge.amount.billable_currency.currencyCurrency of the service charge value, represented in ISO 4217 format.USD
service_charge.amount.billable_currency.valueMonetary value of the service fees applied by the TAAP agency to the itinerary.50.50
service_charge.taxes_and_feesObject representing the value and currency of the taxes and fees for the service fee. 
service_charge.taxes_and_fees.billable_currencyObject representing the monetary value of the taxes and fees for the service fee, in the payment currency. 
service_charge.taxes_and_fees.billable_currency.currencyPayment currency, represented in ISO 4217 format.USD
service_charge.taxes_and_fees.billable_currency.valueAmount paid by the customer for taxes and fees, in the billable currency.5.25

Notes for all TAAP fields

* Date fields are in Coordinated Universal Time (UTC). ** This represents 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.

API details

We’ve provided a snapshot of the API schema and configurations based on how your business would use Itineraries API data. You can download the OpenAPI specifications and use an API testing software to get an understanding of how the examples and schema definitions compare to the actual output.

White Label Template

The fields, including any nested objects, available to our White Label Template partners through our push and pull delivery methods are:




TAAP

The fields, including any nested objects, available to our TAAP partners through our push and pull delivery methods are:




このページは役に立ちましたか ?
このコンテンツに改善が必要な点があれば、
サービス向上にご協力いただきありがとうございます。