Skip to main content
Assemble and edit a trip before sending it to checkout. Use it to add a flight, hotel, or car offer, set traveler details, swap one item for another, or attach ancillaries like bags and seats. Flights, hotels, and cars 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. Include upsert_travelers.contact with every MCP traveler update, even when only adding a frequent-flyer number. Use the booking contact’s email and phone; the phone must be in international format with a leading + and country code, e.g. +12025550147.
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.