Duffel API Integration for Travel Agencies

Connect Duffel flight content to your PHPTRAVELS platform. Configure your module, set agency markups and prepare your booking flow for launch.

flight Flight supplier module
tune Agency markup settings
support_agent Discuss Your Integration

Your platform. Connected flight content.

Bring Duffel flights into your booking business

Duffel API integration gives a travel business a supplier connection for selling flights through PHPTRAVELS. Your website handles the shopping experience; Duffel supplies the content and booking services available to your account.

PHPTRAVELS has an existing Duffel module with API credential and markup configuration. Start with that connection, then agree the specific booking and servicing actions your team needs. An airline feature available through Duffel is not automatically exposed in every version of the PHPTRAVELS module.

For an agency launching a new sales channel, this separates two decisions: the booking platform your customers use, and the supplier account that powers its flight results.

PHPTRAVELS flight results interface with itinerary details, filters and fare selection
PHPTRAVELS flight interface. Illustrative product view; supplier content and fares vary by configuration.

What each part of the integration does

A working connection needs a platform, an approved supplier account and an agency operating process. Define these responsibilities before choosing a launch date.

PHPTRAVELS

Your booking platform

Provides the website, flight module settings, markup configuration and booking administration. The selected package determines the wider B2B/B2C tools available to your business.

Duffel

Your flight connection

Provides airline offers and order services through its API. Available airlines, content and post-booking actions depend on Duffel, the airline and your account setup.

Your agency

Your commercial workflow

Owns supplier onboarding, selling prices, customer payments and the support process. Assign responsibility for pending bookings and traveler requests before going live.

From flight search to a confirmed order

Duffel's API uses offers and orders. Use this flow to evaluate your configured PHPTRAVELS connection, including the transition from customer checkout to supplier confirmation.

  1. Step 1

    Search

    Send the journey and passenger requirements to obtain flight offers.

  2. Step 2

    Review

    Retrieve the selected offer before checkout because availability and prices can change.

  3. Step 3

    Book

    Collect the required passenger details and follow the agreed payment process to create an order.

  4. Step 4

    Confirm

    Check the returned order and airline booking reference, then follow the configured customer confirmation process.

See Duffel's flight booking guide for the provider's API sequence. During implementation, confirm which steps the module automates and how your team handles an unsuccessful order after customer payment.

Implementation

Set up the Duffel module in PHPTRAVELS

The existing module gives you a starting point for configuration. Prepare your supplier access first, then test the entire customer journey rather than stopping at a successful search.

Use the PHPTRAVELS Duffel setup guide alongside the instructions for your installed version. If the settings differ, share your version and required workflow with our team.

Discuss Your Setup
  1. Create your Duffel account. Confirm your business details, intended markets and the content access you need.
  2. Prepare test credentials. Use the appropriate test token for your trial configuration.
  3. Configure the module. In the PHPTRAVELS admin panel, open Modules and the Duffel settings, then enter your API credentials.
  4. Set your markup. Save your agency pricing configuration and review the displayed selling price.
  5. Validate the booking journey. Check results, passenger details, payment behavior, order confirmation and the operational handoff.
  6. Prepare live access. Complete the supplier's activation requirements and confirm the production configuration before accepting real bookings.

Confirm the feature scope for your launch

Your buying decision should reflect the PHPTRAVELS module you will actually deploy. Use these checks to turn a supplier feature list into an agreed implementation scope.

Duffel connection capabilities and implementation checks
AreaWhat to evaluateBefore launch
Flight searchThe documented Duffel module and your account's flight content.Test representative routes and passenger combinations.
PricingModule markup and the final customer price.Check supplier charges, currency handling and payment costs.
OrdersThe configured booking and confirmation process.Verify successful, failed and unresolved booking outcomes.
Seats and baggageDuffel offers ancillary capabilities; module coverage needs confirmation.Agree whether paid extras are part of your rollout.
Changes and cancellationsAirline rules and supported servicing actions.Define which actions run in PHPTRAVELS and which use supplier tools or support.

For additional workflow requirements, discuss integration customization before committing to a launch scope. Duffel's Flights product overview describes its supplier capabilities separately from the PHPTRAVELS module.

Plan your content access

Duffel brings together flight content from NDC, GDS and low-cost carrier distribution. Your available content still depends on the provider's airline coverage and your account configuration.

With Duffel Managed Content, eligible businesses can use Duffel's accreditation and ticketing authority. This is a supplier arrangement; it does not grant your agency its own IATA accreditation.

If your agency has existing airline agreements, ask Duffel how those fit your account. For the wider distribution context, see our NDC booking overview.

Build your agency sales channel

PHPTRAVELS provides a branded platform for direct customer bookings and partner-agent operations. Match the supplier connection to the channel you intend to launch first.

For B2C, review the customer's search and checkout experience. For B2B, agree how agent access, markups and funding should work with the selected module and package. Our B2B booking tools cover the broader agent-channel requirements.

Compare other travel API options only where they solve a specific content or market requirement. A second provider adds another integration and support process to manage.

Budget for the complete setup

A software license and a flight supplier account cover different costs. Build your budget around the actual configuration, expected booking activity and support requirements.

  • PHPTRAVELS package and hosting requirements.
  • Duffel charges and the commercial terms of your account.
  • Customer payment processing and any applicable currency costs.
  • Custom work and post-launch operations, if required.

Review PHPTRAVELS pricing and request the current supplier terms directly from Duffel. A markup is a pricing control, not a guarantee of profit after these costs.

Duffel integration FAQs

Answers for agencies evaluating the module, supplier access and launch requirements.

What is Duffel API integration with PHPTRAVELS?

It connects the Duffel flight supplier module with your PHPTRAVELS booking platform. Your Duffel account provides access to eligible flight content, while PHPTRAVELS provides the customer-facing website and agency administration.

Is there an existing PHPTRAVELS Duffel module?

Yes. PHPTRAVELS lists a Duffel module and publishes a setup guide covering API access and a first search. Confirm compatibility with your installed version and the booking operations you need before launch.

How do I connect my Duffel account?

Create a Duffel account, obtain the appropriate API credentials, then enter them in the Duffel module settings in your PHPTRAVELS admin panel. Configure the markup and validate the integration in test mode before requesting a production rollout.

Do I need my own IATA accreditation?

Duffel offers Managed Content using its accreditation and ticketing authority, subject to account activation and available content. Confirm eligibility directly with Duffel. Connecting PHPTRAVELS does not make your business IATA-accredited.

Does the module include every Duffel API feature?

Do not assume full feature parity. Seats, paid baggage, changes, cancellations and other servicing actions need to be checked against the PHPTRAVELS module version, airline support and your agreed integration scope.

Can I set a markup on Duffel bookings?

The PHPTRAVELS Duffel setup includes a module markup setting. Test the resulting selling price and confirm how it interacts with your payment charges, supplier costs and any agent pricing rules.

Can I use Duffel for B2B and B2C sales?

PHPTRAVELS offers B2B and B2C booking tools. Discuss which sales channels your Duffel connection will serve and validate agent access, pricing and checkout in the selected package.

Are Duffel charges included in the PHPTRAVELS price?

Treat the PHPTRAVELS license, hosting, custom development, payment processing and Duffel charges as separate budget items. Check the current plans and your supplier agreement for the charges that apply.

Will test searches show the same fares as live searches?

No. Duffel test mode uses sandbox content and test credentials. It is useful for validating behavior, but test results should not be treated as production availability or a commercial fare quote.

Plan your Duffel connection with PHPTRAVELS

Share your PHPTRAVELS version, target routes, intended sales channel and required booking actions. We can review the module setup and identify any additional integration work.