Postman: UseCase/Ancillary Offer - Seats, UseCase/Ancillary Offer - Services
Capabilities. Shop for seats, Shop for ancillary services, Price an offer, Create an order with payment
Sequence. AirShopping โ SeatAvailability and/or ServiceList โ OfferPrice โ OrderCreate (with payment)
Preconditions. None beyond a valid API key. This path is instant pay. To hold a booking and add extras afterwards, use WE-1 followed by WE-9 or WE-10.
| Step | Message | Send | Get back | Carry forward |
|---|---|---|---|---|
| 1 | AirShopping | Journey and passengers | Offer list | OfferID, OfferItemID |
| 2a | SeatAvailability by offer | The OfferID from step 1 |
Seat map with seat offer items | Seat OfferItemRefID |
| 2b | ServiceList by offer | The OfferID from step 1 |
Service offers | Service OfferItemRefID |
| 3 | OfferPrice with seat and service | The flight offer plus the selected seat and service items | One combined priced offer | Combined OfferID, total amount |
| 4 | OrderCreate combined offer | The combined OfferID, passenger list, PaymentFunctions |
Paid order including the seat and service | OrderID |
You can run step 2a alone, step 2b alone, or both. Price only what you selected: with seat, with service, or with both.
Outcome. A paid order that already carries the seat and the service.
Watch out for. A seat can return several OfferItemRefID values. Pick the one belonging to the passenger you are seating, or the combined pricing in step 3 will not match.