---
title: "POST /flight/search"
method: POST
path: "/flight/search"
---

# POST /flight/search

`POST /flight/search`

## Headers

- `client-id` string, required
- `client-secret` string, required
- `Content-Type` string, required

## Request body

- object
  - `client_referenceId` string, required — Unique Client Reference ID
  - `journey_type` string, required — Type of journey; allowed values are oneway, return, multi_trip, advanced, and special_return.
  - `adults` integer, required
  - `children` integer, required
  - `infants` integer, required
  - `direct_flight` boolean — Whether to search only for direct flights; allowed values are true or false.
  - `onestop_flight` boolean — Whether to include one-stop flights in the search; allowed values are true or false.
  - `journeys` object[], required — List of journey segments; must contain 1 item for oneway, return, special_return, 2 or more for multi_trip, and 1 or more for advanced based on journey_type.
    - `origin` string, required — The starting point or departure location for each part of the journey.
    - `destination` string, required — The end point or arrival location for each part of the journey.
    - `cabin_class` string, required — The travel class for the journey segment. Allowed values are all, economy, premium_economy, business, premium_business, and first.
    - `departure_date` string, date, required — The departure date for the journey segment; must be a valid date not earlier than today.
    - `arrival_date` string, date, required — The arrival date for the journey segment; required if journey_type is return or special_return, and must be on or after the departure date.
    - `departure_period` string — Preferred time of day for departure (e.g., morning, afternoon, evening, night) for the journey segment.
    - `arrival_period` string — Preferred time of day for arrival (e.g., morning, afternoon, evening, Night) for the journey segment.
  - `source` string[], required — Required if journey_type is special_return
  - `fare_type` string — The fare category, such as student, senior_citizen, or armed_forces. Note: student and senior_citizen fares require exactly one adult passenger.

## Response `200`

200

---

[API](https://skmtc.net/aeronpay/apis/merchant-onboarding.md) · [All operations](https://skmtc.net/aeronpay/apis/merchant-onboarding/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aeronpay/merchant-onboarding/versions/1027c0f514b1/schema)
