Duffel
A connector to the Duffel travel API for searching and booking flights, hotels, and managing travel orders.
Categories: Travel
What you can ask
- Find round-trip flights from SFO to NRT next month under $1500, with one stop or fewer.
- Hold a booking for 24 hours on the cheapest morning flight to Boston tomorrow.
- List Star Alliance flights between JFK and FRA on the 15th.
Set up
Duffel connects with credentials from your Duffel account. Have these values ready:
- API key
- Go to Organization > Connectors and find Duffel.
- Click Enable and choose which tools to allow.
- Each member enters their own values the first time they use it.
To use one account for the whole organization, turn on Share one connection with everyone. Every member's agents then act as that account, with exactly the access it has.
Tools
Duffel offers 40 tools. Admins choose which ones agents can use. See Tool permission groups.
Read (28)
View and search information without changing it.
| Tool | What it does |
|---|---|
get_aircraft | Get aircraft type details by ID. |
get_airline | Get airline details by ID. |
get_airport | Get airport details by ID. |
get_batch_offer_request | Get batch offer request status and results by ID. |
get_city | Get city details by ID. |
get_loyalty_program | Get loyalty programme details by ID. |
get_offer | Get offer details by ID. |
get_offer_request | Get offer request details by ID. |
get_order | Get order details by ID. |
get_order_cancellation | Get order cancellation details by ID. |
get_order_change | Get order change details by ID. |
get_order_change_request | Get order change request details by ID. |
get_partial_offer_request | Get partial offer request details by ID. |
get_payment | Get payment details by ID. |
get_seat_maps | Get seat maps for an offer. |
list_aircraft | List aircraft types with pagination. |
list_airlines | List airlines with pagination. |
list_airports | List airports with pagination. |
list_cities | List cities with pagination. |
list_loyalty_programs | List airline loyalty programmes with pagination. |
list_offer_requests | List offer requests with pagination. |
list_offers | List offers for an offer request with pagination. |
list_order_cancellations | List order cancellations with pagination. |
list_order_change_offers | List change offers for an order change request. |
list_orders | List orders with pagination. |
list_payments | List payments with pagination. |
suggest_places | Search airports and cities by name. |
validate_credential | Validate Duffel API credentials by testing authentication with a lightweight API call. |
Write (8)
Create or send data.
| Tool | What it does |
|---|---|
create_batch_offer_request | Create a batch flight search. |
create_offer_request | Search for flights by creating an offer request. |
create_order | Book a flight by creating an order. |
create_order_cancellation | Initiate cancellation of an order. |
create_order_change | Select an order change offer to proceed with. |
create_order_change_request | Request to change an order's flights. |
create_partial_offer_request | Search for flights with partial offers. |
create_payment | Create a payment for an order. |
Delete or overwrite (4)
Remove or replace existing data.
| Tool | What it does |
|---|---|
confirm_order_cancellation | Confirm an order cancellation. |
confirm_order_change | Confirm an order change. |
update_offer_passenger | Update passenger details on an offer. |
update_order | Update order metadata. |