Postman: UseCase/Create & confirm on-hold booking
Capabilities. Shop for flights, Price an offer, Create an order without payment, Retrieve an order, Pay an on-hold order
Sequence. AirShopping → OfferPrice → OrderCreate (no payment) → OrderRetrieve → OrderQuote → OrderChange → OrderRetrieve
Preconditions. API key issued; tenant and sales channel known.
| Step | Message | Send | Get back | Carry forward |
|---|---|---|---|---|
| 1 | AirShopping | Origin, destination, dates, passengers (ADT / CHD / INF), optional cabin |
Offer list | OfferID, OfferItemID, OwnerCode |
| 2 | OfferPrice | Selected OfferID and OfferItemID |
Priced offer with final amount and currency | Priced OfferID |
| 3 | OrderCreate | Priced OfferID, passenger list, contact email and phone |
OrderID, booking reference, order held |
OrderID |
| 4 | OrderRetrieve | OrderID, OwnerCode |
Current order view | PaxID values, amount due |
| 5 | OrderQuote | ExistingOrder with OrderID |
Amount to settle | Quoted OfferRefID, OfferItemRefID |
| 6 | OrderChange | OrderID, accepted quote, PaymentFunctions |
Confirmed order | OrderID |
| 7 | OrderRetrieve | OrderID |
Final order with ticket numbers | — |
Outcome. A confirmed, paid and ticketed order.
Watch out for. Step 4 is not optional — the PaxID values it returns are the ones step 6 must use. Do not reuse PaxID values from the step 3 response.