Search Link: https://www.google.com/search?channel=fs&client=ubuntu-sn&q=postman+collection+15595862-cce09558-a1c8-44f9-bde8-8a18715936c1

Overview

POST /air/offer_requests

Summary: Searching for Flights

In the Duffel API you create an offer request in order to search for flights.

For this you’ll need the flight itinerary - which should include the origin(s), destination(s) and departure date(s) - and information about the passengers.


GET /air/offers/{OFFER_ID}

Summary: Selecting an offer from the search results

Offers can get stale fairly quickly, and when they do you are no longer able to book them.

To get the latest version of the offer, you can use the offer’s id using this endpoint


PARAMETERS /air/offers/{OFFER_ID}


POST /air/orders

Summary: Creating a booking using the selected offer

We are finally ready to make a booking using the Duffel API which we call “creating an order”.

For this you’ll need three things:

  1. The ID of the offer you’d like to book (taken from the previous request you did)
  2. Basic necessary information about the passengers
  3. Payment method and information to confirm the order