Data

The Analytics API offers key information on traveler bookings, as well as the points earned from those bookings.

This data is useful for managing your loyalty program, providing an up-to-date view of both pending and awarded points.

Field nameDefinitionExample
itinerary_idThe itinerary number or point of sale order reference number.72622069245694
transaction_typeThe type of transaction recorded.Possible values:

- Purchase
- Award
- Modification
- Cancel
booking_dateThe date a booking was initially made, it is represented in ISO8601 Date format (YYYY-MM-DD).2023-02-05
transaction_dateThe date a booking was last updated (modified). This is the same as the book date if the booking is never updated. The date is represented in ISO8601 Date format (YYYY-MM-DD).2023-02-05
transaction_datetimeThe date and time a booking was last updated (modified). These are the same as the book date and time if the booking is never updated, it is represented in ISO8601 date time format.2023-10-21T00:00:00.000-08:00
begin_use_dateThe date the travel begins: departure date, check-in date, pick-up date, etc. represented in ISO8601 Date format (YYYY-MM-DD).2023-02-05
end_use_dateThe date the travel ends: arrival date, check-out date, drop-off date, etc. represented in ISO8601 Date format (YYYY-MM-DD).2023-02-05
id (booking_item)Booking item id. Element grouped under the booking_item object.1329922272
product_lineBusiness type of booking.Possible values:

- Air
- Car
- Cruise
- Destination services
- Insurance
- Lodging
- Package
- Unknown
package_indicatorWhether the booking is part of a package.Possible values:
- Part of package
- Standalone
- Unknown
currency_codeCurrency code in which the booking was paid, as per the standard IBAN currency code formatUSD
gross_booking_valueGross booking value.694.8941
base_priceThe amount charged to the customer before taxes, fees, and adjustments, forming the basis for awarded points.154.7863
award_dateDate at which points will be earned represented in ISO8601 Date format (YYYY-MM-DD).2023-03-14
point_definitionDefinition of the points applied as related to the campaign(s) or base points.Partner_2X_promo
pending_pointsNumber of points pending awardBroken down as
- total: -100.11
- base: -90.01
- bonus: -10.1
awarded_pointsNumber of points awarded.Broken down as
- total: 100.11
- base: 90.01
- bonus: 10.1
program_nameName of the Loyalty Program.Rewards
loyalty_tierTier of the program the member is in. This can be used to help determine bonus points, for example.Standard
base_priceThe amount charged to the customer exclusive of any taxes, fees, and adjustments.154.7863
last_name*Last name of the loyalty program member.Doe
id (member)Membership id. Element grouped under the member object.456178230

*Personally Identifiable Information (PII) data. Please be sure to handle this correctly per your company's guidelines. Please include only when absolutely necessary.
** Date fields are in Pacific Standard Time (PST) allowing for daylight savings.

Did you find this page helpful?
How can we improve this content?
Thank you for helping us improve Developer Hub!