API

Sections

Theme switcher

Flow Overview

The Distribusion API facilitates a fully native search, booking and after-sales flow, consisting of these steps:

  1. Preparing Metadata: Sets the metadata from stations/areas/cities and carries in advance to support the steps in the flow.
  2. Searching for Trips: Retrieves the list of available trips for a specific departure/arrival date and time, for selected stations/areas/cities, for a defined number of passengers and other search criteria you define.
  3. Checking Price & Vacancy: Confirms if the trip selected has vacancy and if the price is still the same as in the previous step.
  4. Selecting Seats: Allows the selection of seats (when supported by the carrier).
  5. Creating Reservation: Creates a reservation while the user completes the checkout process.
  6. Confirming Reservation: Sends a request to confirm the reservation with the carrier.
  7. Checking Reservation Status: Checks the status of the reservation until is is confirmed by the carrier.
  8. Booking Confirmation: Displays the booking details after the reservation is confirmed.
  9. Cancel Booking: Requests the cancellation conditions and process a cancellation.
Was this section helpful?

What made this section unhelpful for you?

On this page
  • Flow Overview
View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot