Skip to main content
Assemble and edit a trip before sending it to checkout. Use it to add a flight or hotel offer, set traveler details, swap one item for another, or attach ancillaries like bags and seats. Flights and hotels can sit side by side in the same trip and settle through a single checkout.

Parameters

Examples

Create a new trip (add flight + set travelers in one call):
Add a hotel to an existing trip:
Update travelers only (no new items):
Add a frequent-flyer number: Each traveler can carry an optional frequent_flyer object so miles are credited on the booking. airline is the IATA code of the program issuer (e.g. LH for Lufthansa Miles & More), not necessarily the operating carrier, since alliances credit miles on partner flights. Both airline and number are required when the object is present.
Traveler details must match real travel documents, airlines enforce name / DOB matching and reject bookings where they don’t. Never let an agent fabricate these.
The response includes trip_id, the current item list, and totals. Use trip_id with checkout when you’re ready to check out.