API

Sections

Theme switcher

Journey Types

Distribusion allows you to sell tickets for single and return journeys.

Types

There are three distinct journey types available. These types are displayed under the field journey_type in the response from the /connections/find endpoint.

Journey Type
Distribusion Journey Type Code
Description

Single

single

Trip can be booked only one-way.

Open return

open_return

Trip can be booked for outbound & inbound legs; whereby the inbound leg is not bound to a specific date of travel but rather to a time interval (e.g. 3 months).

Fixed return

fixed_return

Trip can be booked for outbound & inbound legs; whereby both legs are bound to specific travel dates.

Journey types are defined per fare class. Please find additional details in our Fare Classes guide.

Virtual Returns

Even if a carrier does not support any explicit return journey types, Distribusion still allows return bookings to be placed within one user flow and request. Simply use a single journey fare class and specify a return date in the relevant API requests.

Fare Classes for Return Trips

When booking a return trip both the outbound and inbound segment must be set with the same fare class. At the moment it is not possible to choose different fares for each segment.

Was this section helpful?

What made this section unhelpful for you?

On this page
  • Journey Types
View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot