Create Itinerary

This API creates an itinerary in the database based on the user-selected flights and fetches the latest price details from the supplier/airline.

Body Params
items
array of objects
required

List of items to include in the itinerary.

items*
string
required

Unique identifier for the search.

Headers
string
enum
required
Allowed:
string
required

Authorization token to authenticate the API request.

string
required
Defaults to external-service

Specifies the type of authorization, here it is set to external-service.

string
enum
required
Defaults to website

Specifies the source of the request (End User Source). Available choices: website, android, mweb, ios

Allowed:
Responses

400

Bad Request. The create itinerary request parameter is invalid or missing.

401

Unauthorized. The access token is missing or invalid.

422

Bad Request. Client Side Error in Request Body.

500

Internal Server Error.

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json; charset=utf-8