API

Sections

Theme switcher

Partial Integration

With Distribusion Whitelabel partial integration, you will handle the search.

Search

You have three ways of handling the search:

  1. Build your search engine using our APIs. We don’t recommend this option if you only work with us, as it is the hardest one. With this option, you will also be responsible for the redirection to Distribusion Whitelabel.
  2. Integrate our Distribusion Search Widget: a JavaScript SDK that allows you to have the search bar on your website. If you use this option, the redirection to Distribusion Whitelabel will be handled by Distribusion SDK.
  3. Specific landing pages: on most websites, some landing pages already have a predefined Origin and Destination, for example, “How to go from London Victoria to London Heathrow Airport”. With this option, you can add buttons on the page with the URL already predefined.

Redirecting to Search Results Page

Example

https://book.distribusion.com/result?arrivalCity=GBBHX&departureCity=GBLON&locale=en&pax=1&retailerPartnerNumber=222222

URL Parameters

Parameter
Mandatory
Type
Description
Example

departureCity, departureArea, or departureStation

YES

String

Departure point. Choose one of the options.

DEBER

arrivalCity, arrivalArea, or arrivalStation

YES

String

Arrival point. Choose one of the options.

GBLON

retailerPartnerNumber

YES

Numeric

6-digit number of retailer partner.

222222

marketingCarrierCode

NO

Array

Codes of the carriers to be displayed. Leave empty if all

NEXP

locale

NO

String

2-letter alphanumeric lowercase code according to the ISO 639-1 standard.

en

currency

NO

String

3-letter alphanumeric uppercase code according to the ISO 4217 standard.

EUR

departureDate

NO

Date YYYY-MM-DD

Departure date for the trip in ISO 8601 format

2024-11-10

returnDate

NO

Date YYYY-MM-DD

Return date for the trip in ISO 8601 format

2024-11-17

pax

NO

Integer

Number of passengers

1

passengers[][pax]

NO

Integer

Number of passengers for this age group

1

passengers[][max_age]

NO

Integer

Maximum age in the group of passengers

20

Was this section helpful?

What made this section unhelpful for you?

On this page
  • Partial Integration
View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot