Call OfferPrice with the selected offer ID and all required passenger details to obtain a priced, validated offer and a short-lived price guarantee token
Inspect the OfferPriceRS for fare breakdowns, tax itemization, and any residual offer conditions or payment timing requirements
Call OrderCreate with the priced offer token, passenger name records, contact details, and selected payment method; include frequent flyer numbers if applicable
Parse OrderCreateRS for the airline order ID, booking reference (PNR), and ticket numbers; store all three for post-booking operations
Verify the payment acceptance response embedded in OrderCreateRS and handle any pending-payment or ticketing-deadline status before returning confirmation to the user
Known gotchas
The price guarantee token from OfferPrice is short-lived (often seconds to a few minutes); do not store and replay it across sessions
Airline NDC implementations vary significantly from the IATA schema baseline — mandatory vs optional element support differs per carrier, so always test against the target airline's own sandbox
OrderCreate may return a booking reference without immediate ticket issuance; poll or webhook for ticket number confirmation before treating the booking as fully ticketed
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp