DATE:
AUTHOR:
The Duffel team
API

You can now list orders using filters

DATE:
AUTHOR:

We've added the ability to provide filters when listing your orders in the API.

You can filter your orders by airline, origin, destination, arrival time, departure time and passenger name.

For example, you'd use the following request to find all orders arriving at London Heathrow on or after 1st January 2022:

GET /air/orders?destination_id[]=arp_lhr_gb&arriving_at[after]=2022-01-01T00:00:00

You can find more details in our API reference.

Powered by LaunchNotes