Flights Overview
Environment Details:
Protocol: https
Environment: Sandbox
Flights Domain: flight-aggregator-api-sandbox.travclan.com
List of Services and Endpoints
Service Name | Endpoint | Method | Description |
---|---|---|---|
Search Flight | /api/v2/flights/search | POST | Fetches available flights based on search criteria. |
Fare Rules | /api/v2/flights/fare-rules | POST | Fetches the fare rules for a flight. |
Create Flight Itinerary | /api/v2/flights/itinerary | POST | Creates a new flight itinerary. |
Passenger Collection | /api/v2/flights/itinerary/{itineraryCode}/passenger-collections | POST | Saves passenger collection to a flight itinerary. |
Get Itinerary | /api/v2/flights/itinerary/{itineraryCode} | GET | Fetches a flight's itinerary. |
Fare Quote | /api/v2/flights/itinerary/{itineraryCode}/fare-quote | POST | Checks the price of a flight with the airline/provider for changes. |
Book Flight | /api/v2/flights/itinerary/{itineraryCode}/book | POST | Books a flight. |
Booking Details | /api/v2/flights/bookings/{bookingCode} | GET | Retrieves booking details. |
Explanation:
- Search Flight - User searches for available flights.
- Fare Rules - (Optional, can be called anytime after search) – Retrieves fare rules for selected flights.
- Create Itinerary - Creates a flight itinerary using the user selected flight.
- Get Itinerary - (Optional, can be called anytime after itinerary creation) – Fetches details of the created itinerary.
- Save Passenger Info - Passenger details are saved.
- Reprice - Fetches the latest price to confirm before booking.
- Book Flight - The flight is booked.
- Get Booking Details - Retrieves booking confirmation and details.

Updated 5 months ago