Hold, then confirm (pay) the hold
DEL-BOM · one way · 1 adult · booked on hold
Book on hold, then confirm-hold before pay_till: the amount is taken and the booking is ticketed. Details after.
- 1 Search: 211 options
- 2 Reprice: 1 items
- 3 Book on hold: 1 passengers
- 4 Confirm the hold: 1 confirmed
- 5 Booking details: 1 passengers
▸1. SearchPOST /flights/search211 options
What this step returned: 211 options(click to expand)
- 211 options in 1 group(s): journey_indexes [0] has 211 options
- Options by number of flights: 1 flight: 67, 2 flights: 144
- Airlines in the reply: AI (101 flights), 6E (65 flights), IX (60 flights), H1 (38 flights), SG (32 flights), EK (20 flights), EY (16 flights), SQ (14 flights), QP (6 flights), WY (2 flights), 9I (1 flights)
- 852 fare options in total; 47 distinct fare families (fare_ref)
- Cheapest adult total: 2,546 (Super Saver)
- Fares with a meal included (has_meal): 157; with a free seat: 173
- Fares with check-in baggage included: 829; hand baggage only: 15; no baggage stated: 8
- Fares whose attributes differ between flights (varies_by_segment): 358; ask detail=segment to see them per flight
- Refundability: PARTIALLY_REFUNDABLE 527, not stated 189, NON_REFUNDABLE 136
- 50 distinct fare rules in fare_rules; 406 fares without a rule known at search
- Reply carries valid_till (option_id and price_id expire then); request: 1 adult, 0 child, 0 infant, cabin_class 1
Request body
HTTP 200 · 30942 ms · complete request body (collapsible viewer)
{
"segments": [
{
"from": "DEL",
"to": "BOM",
"date": "2026-11-19"
}
],
"adult": 1,
"child": 0,
"infant": 0,
"cabin_class": 1
}Reply
HTTP 200 · 30942 ms · complete response body (collapsible viewer)
{
"search_id": "d46716a9-d69b-4d9b-9bbe-105fb118c855",
"status": "completed",
"valid_till": "2026-10-20T23:46:01+05:30",
"fare_rules": {
"fr_1": {
"cancellation": [
{
"allowed": true,
"amount": 10000,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Before departure"
}
],
"date_change": [
{
"allowed": true,
"amount": 7000,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Reissue"
}
]
},
"fr_2": {
"cancellation": [
{
"allowed": true,
"amount": 7000,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Before departure"
}
],
"date_change": [
{
"allowed": true,
"amount": 2000,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Reissue"
}
]
},
"fr_3": {
"cancellation": [
{
"allowed": true,
"amount": 1998,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Before departure"
}
],
"date_change": [
{
"allowed": true,
"amount": 500,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Reissue"
}
]
},
"fr_9": {
"cancellation": [
{
"allowed": true,
"amount": 5023.22,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Before departure — Non-Refundable"
}
],
"date_change": [
{
"allowed": true,
"amount": 3506.78,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Before departure — Changeable"
}
]
},
"fr_10": {
"cancellation": [
{
"allowed": true,
"amount": 3506.78,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Before departure — Non-Refundable"
}
],
"date_change": [
{
"allowed": true,
"amount": 1042.56,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Before departure — Changeable"
}
]
},
"fr_11": {
"cancellation": [
{
"allowed": true,
"amount": 1042.56,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Before departure — Non-Refundable"
}
],
"date_change": [
{
"allowed": true,
"amount": 284.33,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Before departure — Changeable"
}
]
},
"fr_12": {
"cancellation": [
{
"allowed": true,
"percent": 100,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "PerTicket"
}
],
"date_change": [
{
"allowed": false,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 2,
"unit": "HOURS"
},
"text": "Non changeable"
},
{
"allowed": true,
"amount": 3000,
"from": {
"value": 2,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "PerTicket"
}
]
},
"fr_13": {
"cancellation": [
{
"allowed": false,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 2,
"unit": "HOURS"
},
"text": "Non refundable"
},
{
"allowed": true,
"amount": 3500,
"from": {
"value": 2,
"unit": "HOURS"
},
"to": {
"value": 3,
"unit": "DAYS"
},
"text": "PerTicket"
},
{
"allowed": true,
"amount": 2500,
"from": {
"value": 3,
"unit": "DAYS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "PerTicket"
}
],
"date_change": [
{
"allowed": false,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 2,
"unit": "HOURS"
},
"text": "Non changeable"
},
{
"allowed": true,
"amount": 1000,
"from": {
"value": 2,
"unit": "HOURS"
},
"to": {
"value": 3,
"unit": "DAYS"
},
"text": "PerTicket"
},
{
"allowed": true,
"amount": 300,
"from": {
"value": 3,
"unit": "DAYS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "PerTicket"
}
]
},
"fr_14": {
"cancellation": [
{
"allowed": false,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 2,
"unit": "HOURS"
},
"text": "Non refundable"
},
{
"allowed": true,
"amount": 999,
"from": {
"value": 2,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "PerTicket"
}
],
"date_change": [
{
"allowed": false,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 2,
"unit": "HOURS"
},
"text": "Non changeable"
},
{
"allowed": true,
"amount": 250,
"from": {
"value": 2,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "PerTicket"
}
]
},
"fr_15": {
"cancellation": [
{
"allowed": false,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 2,
"unit": "HOURS"
},
"text": "Non refundable"
},
{
"allowed": true,
"amount": 5000,
"from": {
"value": 2,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "PerTicket"
}
],
"date_change": [
{
"allowed": false,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 2,
"unit": "HOURS"
},
"text": "Non changeable"
},
{
"allowed": true,
"amount": 3000,
"from": {
"value": 2,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "PerTicket"
}
]
},
"fr_16": {
"cancellation": [
{
"allowed": true,
"amount": 5000,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Before departure"
}
],
"date_change": [
{
"allowed": true,
"amount": 3500,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Reissue"
}
]
},
"fr_17": {
"cancellation": [
{
"allowed": true,
"amount": 3500,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Before departure"
}
],
"date_change": [
{
"allowed": true,
"amount": 1000,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Reissue"
}
]
},
"fr_18": {
"cancellation": [
{
"allowed": true,
"amount": 999,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Before departure"
}
],
"date_change": [
{
"allowed": true,
"amount": 250,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Reissue"
}
]
},
"fr_29": {
"cancellation": [
{
"allowed": true,
"amount": 10000,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Before departure"
}
],
"date_change": [
{
"allowed": true,
"amount": 4000,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Reissue"
}
]
}
},
"results": [
{
"journey_indexes": [
0
],
"options": [
{
"option_id": "b0ad04ff-352f-4c31-91de-991460546c8f",
"segments": [
{
"segment_index": 0,
"journey_index": 0,
"segment_id": "DEL_IXC_AI_1743",
"from": "DEL",
"to": "IXC",
"airline_code": "AI",
"airline_name": "Air India",
"aircraft_type": "Airbus A321",
"flight_number": "1743",
"stops": 1,
"departure_time": "2026-11-19T06:50:00",
"departure_terminal": "2",
"arrival_time": "2026-11-19T07:55:00",
"duration": 65,
"connecting_time": 60
},
{
"segment_index": 1,
"journey_index": 0,
"segment_id": "IXC_BOM_AI_472",
"from": "IXC",
"to": "BOM",
"airline_code": "AI",
"airline_name": "Air India",
"aircraft_type": "Airbus A319",
"flight_number": "472",
"departure_time": "2026-11-19T08:55:00",
"arrival_time": "2026-11-19T11:25:00",
"arrival_terminal": "2",
"duration": 150,
"connecting_time": 60
}
],
"fare_options": [
{
"price_id": "6a933a0a-0009-4b77-ab09-41c618ed4c34",
"fare_rules": {
"0": "fr_1"
},
"has_free_seat": true,
"adult": {
"fare": {
"base_fare": 13477,
"yq": 1250,
"yr": 340,
"booking_fee": 100,
"other_taxes": 1231,
"total_fare": 16572.94,
"net_fare": 16572.94,
"pax_count": 1
},
"fare_ref": "ECO VALUE",
"refundable_type": "PARTIALLY_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "V",
"fare_basis": "VU1YXSII",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 15
}
}
},
"varies_by_segment": true
},
{
"price_id": "70e9060c-5168-43e9-8487-c0c3da1b0b8a",
"fare_rules": {
"0": "fr_2"
},
"has_free_seat": true,
"adult": {
"fare": {
"base_fare": 14477,
"yq": 1250,
"yr": 340,
"booking_fee": 100,
"other_taxes": 1281,
"total_fare": 17622.94,
"net_fare": 17622.94,
"pax_count": 1
},
"fare_ref": "ECO CLASSIC",
"refundable_type": "PARTIALLY_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "V",
"fare_basis": "VU1YWSII",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 20
}
}
},
"varies_by_segment": false
},
{
"price_id": "9cc07937-8009-45cb-a9cb-73da8a0ed4b7",
"fare_rules": {
"0": "fr_3"
},
"has_free_seat": true,
"adult": {
"fare": {
"base_fare": 16477,
"yq": 1250,
"yr": 340,
"booking_fee": 100,
"other_taxes": 1381,
"total_fare": 19722.94,
"net_fare": 19722.94,
"pax_count": 1
},
"fare_ref": "ECO FLEX",
"refundable_type": "PARTIALLY_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "V",
"fare_basis": "VU1YFSII",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 25
}
}
},
"varies_by_segment": false
},
"… 3 more (open the viewer)"
]
},
{
"option_id": "9063f430-d53f-4336-88b9-777e612d9d1e",
"segments": [
{
"segment_index": 0,
"journey_index": 0,
"segment_id": "DEL_BOM_IX_1465",
"from": "DEL",
"to": "BOM",
"airline_code": "IX",
"airline_name": "Air India Express",
"aircraft_type": "Boeing 7M8",
"flight_number": "1465",
"departure_time": "2026-11-19T18:10:00",
"departure_terminal": "1",
"arrival_time": "2026-11-19T20:30:00",
"arrival_terminal": "2",
"duration": 140
}
],
"fare_options": [
{
"price_id": "27199b02-6181-475e-a00c-cd96fcb106bd",
"adult": {
"fare": {
"base_fare": 4000,
"yq": 850,
"booking_fee": 100,
"other_taxes": 341,
"total_fare": 6028.94,
"net_fare": 6028.94,
"pax_count": 1
},
"fare_ref": "Value",
"cabin_class": "Economy",
"booking_class": "EC",
"fare_basis": "KNRA000",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 15
}
}
},
"varies_by_segment": false
},
{
"price_id": "b0cef216-2816-447a-a99a-bead8c2b4c2d",
"adult": {
"fare": {
"base_fare": 5125,
"yq": 850,
"booking_fee": 100,
"other_taxes": 397,
"total_fare": 7209.94,
"net_fare": 7209.94,
"pax_count": 1
},
"fare_ref": "Corporate Value",
"cabin_class": "Economy",
"booking_class": "SM",
"fare_basis": "KNSA000",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 15
}
}
},
"varies_by_segment": false
},
{
"price_id": "b27bbf4d-d5d1-48f3-9623-91359bef1aa0",
"adult": {
"fare": {
"base_fare": 5125,
"yq": 850,
"booking_fee": 100,
"other_taxes": 397,
"total_fare": 7209.94,
"net_fare": 7209.94,
"pax_count": 1
},
"fare_ref": "Classic",
"cabin_class": "Economy",
"booking_class": "OF",
"fare_basis": "KNOA000",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 15
}
}
},
"varies_by_segment": false
},
"… 4 more (open the viewer)"
]
},
{
"option_id": "2540c1dd-e9a8-4c0e-b130-1c06d1f82e6a",
"segments": [
{
"segment_index": 0,
"journey_index": 0,
"segment_id": "DEL_BOM_AI_2963",
"from": "DEL",
"to": "BOM",
"airline_code": "AI",
"airline_name": "Air India",
"aircraft_type": "Airbus A320neo",
"flight_number": "2963",
"departure_time": "2026-11-19T09:00:00",
"departure_terminal": "3",
"arrival_time": "2026-11-19T11:15:00",
"arrival_terminal": "2",
"duration": 135
}
],
"fare_options": [
{
"price_id": "fe00614e-ae6a-4a5c-b78e-b4bc22eb0ae4",
"fare_rules": {
"0": "fr_9"
},
"adult": {
"fare": {
"base_fare": 10762.96,
"yq": 853,
"booking_fee": 100,
"other_taxes": 255.9,
"total_fare": 13018.75,
"net_fare": 13018.75,
"pax_count": 1
},
"fare_ref": "Eco Value",
"refundable_type": "NON_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "Q",
"baggage": {
"checkin": {
"kg": 15
}
}
},
"varies_by_segment": false
},
{
"price_id": "cfa826b0-050d-42e5-87e4-391d559bbb50",
"fare_rules": {
"0": "fr_10"
},
"adult": {
"fare": {
"base_fare": 11322.15,
"yq": 853,
"booking_fee": 100,
"other_taxes": 255.9,
"total_fare": 13606.37,
"net_fare": 13606.37,
"pax_count": 1
},
"fare_ref": "Eco Classic",
"refundable_type": "NON_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "Q",
"baggage": {
"checkin": {
"kg": 20
}
}
},
"varies_by_segment": false
},
{
"price_id": "3eaf2621-e3f0-4429-b9fa-f270904e1a18",
"fare_rules": {
"0": "fr_11"
},
"adult": {
"fare": {
"base_fare": 12552.36,
"yq": 853,
"booking_fee": 100,
"other_taxes": 255.9,
"total_fare": 14883.97,
"net_fare": 14883.97,
"pax_count": 1
},
"fare_ref": "Eco Flex",
"refundable_type": "NON_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "Q",
"baggage": {
"checkin": {
"kg": 25
}
}
},
"varies_by_segment": false
},
"… 12 more (open the viewer)"
]
},
"… 1 more (open the viewer)"
]
}
]
}This view shows 4 of the 211 options in the reply, chosen so that each of these is present. The fare_rules table shows the 14 rules these options point at, of 50 in the reply. For the entire JSON, open the raw record.
- An option with one flight (a direct flight). → group 0: option 3 (IX 1465 DEL-BOM)
- An option with two flights (a connection). → group 0: option 0 (AI 1743 DEL-IXC + AI 472 IXC-BOM)
- An option where a flight is operated by another airline than the one selling it (operating_airline_code present). → group 0: option 34 (SQ 4807 DEL-SIN + SQ 422 SIN-BOM)
- An option with at least one fare that includes a meal (has_meal true). → group 0: option 14 (AI 2963 DEL-BOM)
Keys and what they mean
Request
| key | type | when present | importance | meaning |
|---|---|---|---|---|
| segments[] | array | required, 1 to 6 | must read | The legs you search: one for one way, two for a return (second from the destination back), up to six for a multi-city trip. |
| segments[].from | string | required | must read | Departure airport, IATA code. |
| segments[].to | string | required | must read | Arrival airport, IATA code. |
| segments[].date | date | required | must read | Departure date, YYYY-MM-DD, local to the departure airport. |
| adult | integer | required, 1 to 9 | must read | Adults travelling. child and infant default to 0; an infant needs an adult. |
| cabin_class | integer | optional | useful | 1 economy (default), 2 premium economy, 3 business, 4 first. |
| detail | string | optional | useful | journey (default) or segment. segment adds segments[] inside every fare option with the fare attributes per flight. |
| include_fare_rules | boolean | optional, default true | informational | false leaves fare_rules out of the reply and off every fare; smaller reply. |
| Total: 8 keys | ||||
Reply
| key | type | when present | importance | meaning |
|---|---|---|---|---|
| search_id | string | always | informational | Id of this search, for support questions. |
| valid_till | datetime | always | must read | Until when an option_id and price_id of this reply can be sent to reprice. After it, search again. |
| fare_rules | object | unless include_fare_rules is false | useful | Every distinct fare rule of the reply keyed by id (fr_1, fr_2, …). Fares point at them; ids mean nothing outside this reply. |
| results[] | array | always | must read | One group per set of journeys the fares cover. Pick one option and one fare from each group until every journey of your request is covered. |
| results[].journey_indexes | array of integer | always | must read | Which journeys of your request this group's fares cover: [0] onward only, [1] return only, [0, 1] a combined fare for both. |
| results[].options[].option_id | string | always | must read | Names the flights of this option. Send it to reprice with the price_id of the chosen fare. |
| results[].options[].segments[] | array | always | must read | The flights of this option in order, each named by (journey_index, segment_index); segment_index restarts at 0 in every journey. |
| results[].options[].segments[].operating_airline_code | string | only on a codeshare | useful | The airline that flies the aircraft when it differs from airline_code, the airline selling the seat. Show it to the traveller. |
| results[].options[].fare_options[] | array | always | must read | The fares sold on exactly these flights. Each prices the whole option once; no amount appears anywhere else. |
| results[].options[].fare_options[].price_id | string | always | must read | Names this fare. Send it to reprice with the option_id. |
| results[].options[].fare_options[].adult | object | always | must read | What this fare gives an adult: fare (the price for the whole option), fare_ref, refundable_type, cabin_class, booking_class, fare_basis, baggage. child and infant appear only when requested. |
| results[].options[].fare_options[].adult.fare.total_fare | number | always | must read | What the traveller pays for one adult on this option, taxes included. |
| results[].options[].fare_options[].adult.fare.net_fare | number | always | must read | What you pay us for one adult: total_fare less your commission. |
| results[].options[].fare_options[].adult.baggage | object | when the airline states it | useful | Allowance included in the fare: hand and checkin, each {kg} and/or {pieces}. Absent = not stated. |
| results[].options[].fare_options[].fare_rules | object | when a rule is known at search | useful | Journey index → id in the top-level fare_rules. A missing index has no rule known at search; the reprice reply carries the final rules. |
| results[].options[].fare_options[].varies_by_segment | boolean | always | informational | true when a later flight of this fare differs from the first in cabin, meal, booking class, fare basis or baggage. Ask detail=segment to see them per flight. |
| Total: 16 keys | ||||
Errors this call answers with (3)
| HTTP | code | message | detail | when |
|---|---|---|---|---|
| 401 | 9001 | Authentication required | Invalid token | Missing, expired or foreign token; also when the API cannot be reached. |
| 400 | 5100 | Invalid search request | cabin_class must be 1 (economy), 2 (premium), 3 (business), or 4 (first) | errors[] has field cabin_class, rule one_of. Same for fare_types and the engine's own checks (dates, airport codes, pax counts). |
| 500 | 9000 | Something went wrong |
Questions developers ask (4)
- What do I send to reprice for a domestic return?
- Two items: one option and one fare from group [0] (onward) and one from group [1] (return). An international return has one group [0, 1] and one item.
- Why does commission not appear on my fares?
- Zero amounts are left out. commission appears only when a commission rule applies to your account; net_fare is then total_fare less it.
- How long can I use an option_id and price_id?
- Until valid_till of the search reply. After it, search again.
- What does varies_by_segment true mean?
- A later flight of the fare differs from the first in cabin, meal, booking class, fare basis or baggage. Send detail=segment to see every flight.
▸2. RepricePOST /flights/reprice1 items
What this step returned: 1 items(click to expand)
- 1 item(s) sent: option 1b2c3335… / price f97ac77e…
- Repriced option on journey_indexes [0]: 1 flight (IX 1235 DEL-BOM); multi-flight reprice: no
- Fare Value : adult total 6,029, net 6,029; segments[] in the reply: no (detail=journey)
- Price unchanged since search (no messages)
- Booking requirements: hold allowed True, passport mandatory False, GST mandatory False, PAN applicable False, DOB adult/child/infant False/False/False
- Price for the whole booking: total 6,029, net 6,029; itinerary_id expires at valid_till
- 0 fare rule(s) in the reply
Request body
HTTP 200 · 519 ms · complete request body (collapsible viewer)
{
"items": [
{
"option_id": "1b2c3335-7310-4668-bb96-2d62fa4efd1e",
"price_id": "f97ac77e-d0af-4f10-9bd7-8f2caf3d0c38"
}
]
}Reply
HTTP 200 · 519 ms · complete response body (collapsible viewer)
{
"itinerary_id": "6aa4c3e1-6d99-41bf-8adc-2b50b7848890",
"valid_till": "2026-10-20T23:21:50+05:30",
"results": [
{
"journey_indexes": [
0
],
"option_id": "1b2c3335-7310-4668-bb96-2d62fa4efd1e",
"segments": [
{
"segment_index": 0,
"journey_index": 0,
"from": "DEL",
"to": "BOM",
"airline_code": "IX",
"airline_name": "Air India Express",
"flight_number": "1235",
"departure_time": "2026-11-19T20:40:00",
"arrival_time": "2026-11-19T23:10:00",
"duration": 150
}
],
"fare": {
"price_id": "f97ac77e-d0af-4f10-9bd7-8f2caf3d0c38",
"adult": {
"fare": {
"base_fare": 4000,
"yq": 850,
"booking_fee": 100,
"other_taxes": 341,
"total_fare": 6028.94,
"net_fare": 6028.94,
"pax_count": 1
},
"fare_ref": "Value",
"cabin_class": "Economy",
"booking_class": "EC",
"fare_basis": "KNRA000",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 15
}
}
},
"varies_by_segment": false
}
}
],
"booking_requirements": {
"is_gst_mandatory": false,
"pan_applicable": false,
"passport_mandatory": false,
"dob_applicable": {
"adt": false,
"chd": false,
"inf": false
},
"is_hold": true,
"firstname_length": 50,
"lastname_length": 50,
"firstname_min_length": 2,
"lastname_min_length": 2,
"seat_mandatory": false,
"meal_mandatory": false,
"baggage_mandatory": false
},
"price": {
"adult": {
"base_fare": 4000,
"yq": 850,
"booking_fee": 100,
"other_taxes": 341,
"total_fare": 6028.94,
"net_fare": 6028.94,
"pax_count": 1
},
"total": {
"base_fare": 4000,
"yq": 850,
"booking_fee": 100,
"other_taxes": 341,
"total_fare": 6028.94,
"net_fare": 6028.94,
"pax_count": 1
}
}
}Keys and what they mean
Request
| key | type | when present | importance | meaning |
|---|---|---|---|---|
| items[] | array | required, one per group | must read | One item per search group you chose from: one for a one way or a combined return, two for a domestic return (one per direction). |
| items[].option_id | string | required | must read | The option_id from the search reply. |
| items[].price_id | string | required | must read | The price_id of the chosen fare of that option. An option_id or price_id not in a current search answers 400 with errors[] (search again). |
| Total: 3 keys | ||||
Reply
| key | type | when present | importance | meaning |
|---|---|---|---|---|
| itinerary_id | string | always | must read | Names the repriced itinerary. Send it to ancillaries, seat map and book. |
| valid_till | datetime | always | must read | Until when the itinerary_id can be booked. After it, book answers 410: reprice again. |
| results[] | array | always | must read | One entry per item sent: journey_indexes, option_id, the flights (segments) and the one fare, priced again. |
| results[].segments[] | array | always | must read | The flights in order, each named by (journey_index, segment_index); segment_index restarts at 0 in every journey. |
| results[].fare | object | always | must read | The fare in the shape of search: price_id, per passenger type (adult, child, infant) the fare_ref, refundable_type, cabin_class, booking_class, fare_basis, baggage and fare, and fare_rules ids. |
| price.total | object | always | must read | The price in the components of search: base_fare, yq, yr, airline_gst, booking_fee, commission, other_taxes, total_fare (what the traveller pays), net_fare (what you pay us), pax_count, and the baggage stated in the fare. For the whole booking. |
| price.adult (child, infant) | object | always (child, infant when requested) | useful | The price in the components of search: base_fare, yq, yr, airline_gst, booking_fee, commission, other_taxes, total_fare (what the traveller pays), net_fare (what you pay us), pax_count, and the baggage stated in the fare. For one passenger of that type. |
| booking_requirements | object | always | must read | What book must carry: is_gst_mandatory, pan_applicable, passport_mandatory, dob_applicable (adt, chd, inf), name lengths, and whether a seat, meal or bag is mandatory. |
| booking_requirements.is_hold | boolean | always | must read | true when this fare may be booked on hold (book with is_hold true); false: book directly, paid at once. |
| fare_rules | object | when known | useful | The cancellation and date-change rules the fares point at, keyed by id (fr_1, …): bands with allowed, amount or percent, the window (from, to) and the airline's text. |
| messages[] | array | only when the price changed | must read | One entry per repriced option whose price changed since search: type FARE_ALERT, option_id, old_value, new_value. Show the new price before booking. |
| Total: 11 keys | ||||
Errors this call answers with (6)
| HTTP | code | message | detail | when |
|---|---|---|---|---|
| 401 | 9001 | Authentication required | Invalid token | |
| 400 | 5100 | Invalid search request | option_id and price_id are required | Also 'each review item needs option_id and price_id'. |
| 404 | 5103 | Flight not found | option_id or price_id not in a stored search. | |
| 410 | 5102 | Search results have expired | ||
| 502 | 5001 | The airline or supplier could not complete the request | Reprice failed at the airline. | |
| 504 | 5002 | A supplier or service did not answer in time |
Questions developers ask (2)
- The price changed. What now?
- messages has a FARE_ALERT with old_value and new_value for that option_id. Show the new price to the traveller before booking; the itinerary is priced at the new value.
- Until when can I book?
- valid_till of the reprice reply: the airline's session for this itinerary. Book before it or reprice again.
▸3. Book on holdPOST /flights/book1 passengers
What this step returned: 1 passengers(click to expand)
- Booked on hold (is_hold True) with 1 passenger(s): ADULT 1
- Status ONHOLD, booking_id AIOR669440, amount 6,029, pay_till given
- GST details sent: no; ancillaries selected: 0
Request body
HTTP 200 · 1934 ms · complete request body (collapsible viewer)
{
"itinerary_id": "6aa4c3e1-6d99-41bf-8adc-2b50b7848890",
"is_hold": true,
"pax_details": [
{
"first_name": "Rohan",
"last_name": "Trivedi",
"pax_type": "ADULT",
"title": "Mr",
"gender": "male",
"dob": "1990-05-12",
"phone": "9876543210",
"email": "rohan.verma@example.com"
}
]
}Reply
HTTP 200 · 1934 ms · complete response body (collapsible viewer)
{
"booking_id": "AIOR669440",
"itinerary_id": "6aa4c3e1-6d99-41bf-8adc-2b50b7848890",
"status": "ONHOLD",
"amount": 6028.94,
"pay_till": "2026-10-20T23:21:51Z"
}Keys and what they mean
Request
| key | type | when present | importance | meaning |
|---|---|---|---|---|
| itinerary_id | string | required | must read | The itinerary_id from reprice, before its valid_till. |
| is_hold | boolean | optional, default false | must read | false: book directly, paid at once from your balance or credit and ticketed. true: hold the seats without payment until pay_till (only when reprice said booking_requirements.is_hold true); then confirm-hold or release. |
| pax_details[] | array | required, one per passenger | must read | Every passenger of the search, adults first: first_name, last_name, pax_type (ADULT, CHILD, INFANT), title, gender, dob, phone and email. |
| pax_details[].passport_details | object | when reprice says passport_mandatory | useful | passport_number, passport_issue_date, passport_expiry_date, passport_issue_country, nationality. |
| pax_details[].ancillaries | object | optional | useful | What this passenger buys: seat[], meal[], other[] (each with code, price, label, journey_index and segment_index) and baggage[] (code, price, label, journey_index; no segment_index). Codes come from ancillaries and seat map; an item on a flight not in the itinerary answers 400 with errors[] (rule scope). |
| gst_details | object | optional; required when reprice says is_gst_mandatory | useful | The company on the invoice: name, number (GSTIN), address, email, mobile. |
| Total: 6 keys | ||||
Reply
| key | type | when present | importance | meaning |
|---|---|---|---|---|
| booking_id | string | always | must read | Your booking's id. Send it to booking details, confirm-hold and release. |
| status | string | always | must read | ONHOLD (held, pay before pay_till), SUCCESS (booked directly and paid), PENDING (the airline has not confirmed yet: read the booking details), or the booking's state. |
| pay_till | datetime | on a hold | must read | Until when the hold can be confirmed; after it the airline releases the seats. |
| amount | number | always | must read | What the booking costs (INR); taken at once for a direct booking, at confirm-hold for a hold. |
| itinerary_id | string | always | informational | The itinerary that was booked. |
| Total: 5 keys | ||||
Errors this call answers with (7)
| HTTP | code | message | detail | when |
|---|---|---|---|---|
| 401 | 9001 | Authentication required | Invalid token | |
| 403 | 9002 | You do not have permission for this action | Role without bookings.create (Finance, Operation, Tech). | |
| 400 | 3000 | Invalid request | (the API's detail text) | |
| 400 | 9003 | Some fields are missing or invalid | Schema validation of the body (required fields, formats); errors[] lists them. | |
| 503 | 3003 | A service the API depends on is unavailable | (the API's text) | the API answered 5xx or did not answer. |
| 409 | 3101 | Hold booking limit reached | ||
| 500 | 9000 | Something went wrong | Payment or order errors that no translator knows. |
Questions developers ask (2)
- Is gst_details required?
- Only when booking_requirements.is_gst_mandatory is true. When you send it, all five fields are required.
- What is the difference between is_hold true and false?
- false pays from your wallet and tickets at once. true holds the seats without payment until pay_till; confirm with confirm-hold or give them back with release.
▸4. Confirm the holdPOST /flights/booking/confirm-hold1 confirmed
What this step returned: 1 confirmed(click to expand)
- Status after confirm-hold: SUCCESS, amount 6,029
Request body
HTTP 200 · 607 ms · complete request body (collapsible viewer)
{
"booking_id": "AIOR669440"
}Reply
HTTP 200 · 607 ms · complete response body (collapsible viewer)
{
"booking_id": "AIOR669440",
"itinerary_id": "6aa4c3e1-6d99-41bf-8adc-2b50b7848890",
"status": "SUCCESS",
"amount": 6028.94
}Keys and what they mean
Request
| key | type | when present | importance | meaning |
|---|---|---|---|---|
| booking_id | string | required | must read | A booking on hold (status ONHOLD), before its pay_till. |
| Total: 1 keys | ||||
Reply
| key | type | when present | importance | meaning |
|---|---|---|---|---|
| status | string | always | must read | SUCCESS when paid and ticketed; read the booking details for the tickets. |
| amount | number | always | must read | What was taken from your balance or credit (INR). |
| booking_id | string | always | informational | The booking confirmed. |
| itinerary_id | string | always | informational | Its itinerary. |
| Total: 4 keys | ||||
Errors this call answers with (6)
| HTTP | code | message | detail | when |
|---|---|---|---|---|
| 401 | 9001 | Authentication required | Invalid token | |
| 403 | 9002 | You do not have permission for this action | Role without bookings.hold. | |
| 400 | 3000 | Invalid request | Booking_id is required | |
| 404 | 9005 | Not found | Booking not found | |
| 409 | 3102 | Booking is not pending | Not a held booking, or already confirmed. | |
| 500 | 9000 | Something went wrong | Insufficient wallet or payment faults that no translator knows. |
▸5. Booking detailsPOST /flights/booking/details1 passengers
What this step returned: 1 passengers(click to expand)
- Status SUCCESS, payment SUCCESS, route DOMESTIC, pay_till given
- Journey 0 DEL-BOM: segment 0 IX 1235 DEL-BOM
- passenger 0 ADULT Rohan: CONFIRMED, PNR H4JUWG, ticket H4JUWG, fare Value EC/KNRA000, total 6,029, net 6,029, baggage hand 7kg, checkin 15kg
- PNR on 1 of 1 passenger-journeys; 1 passenger(s): ADULT Rohan Trivedi
- Booking price: base 4,000, yq 850, other taxes 89, total 6,029, net 6,029
Request body
HTTP 200 · 127 ms · complete request body (collapsible viewer)
{
"booking_id": "AIOR669440"
}Reply
HTTP 200 · 127 ms · complete response body (collapsible viewer)
{
"booking_id": "AIOR669440",
"status": "SUCCESS",
"payment_status": "SUCCESS",
"created_at": "2026-10-20T22:51:50Z",
"pay_till": "2026-10-20T23:21:51Z",
"route_type": "DOMESTIC",
"journeys": [
{
"journey_index": 0,
"from": "DEL",
"to": "BOM",
"departure_time": "2026-11-19T20:40",
"arrival_time": "2026-11-19T23:10",
"segments": [
{
"segment_index": 0,
"from": "DEL",
"to": "BOM",
"airline_code": "IX",
"airline_name": "Air India Express",
"flight_number": "1235",
"departure_time": "2026-11-19T20:40",
"arrival_time": "2026-11-19T23:10",
"duration": 150
}
],
"passengers": [
{
"passenger_index": 0,
"first_name": "Rohan",
"last_name": "Trivedi",
"pax_type": "ADULT",
"title": "Mr",
"gender": "male",
"dob": "1990-05-12",
"fare": {
"base_fare": 4000,
"yq": 850,
"airline_gst": 252,
"booking_fee": 100,
"other_taxes": 89,
"total_fare": 6028.94,
"net_fare": 6028.94
},
"status": "CONFIRMED",
"pnr": "H4JUWG",
"ticket_number": "H4JUWG",
"fare_ref": "Value",
"cabin_class": "Economy",
"booking_class": "EC",
"fare_basis": "KNRA000",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 15
}
}
}
]
}
],
"price": {
"base_fare": 4000,
"yq": 850,
"airline_gst": 252,
"booking_fee": 100,
"other_taxes": 89,
"agent_markup": 100,
"total_fare": 6028.94,
"net_fare": 6028.94
}
}Keys and what they mean
Request
| key | type | when present | importance | meaning |
|---|---|---|---|---|
| booking_id | string | required | must read | The id book returned. |
| Total: 1 keys | ||||
Reply
| key | type | when present | importance | meaning |
|---|---|---|---|---|
| status | string | always | must read | The booking's state: CREATED, ONHOLD, SUCCESS, PNR_RELEASED, CANCELLED, FAILED. |
| payment_status | string | always | must read | PENDING until paid, then SUCCESS; FAILED or REFUNDED later. |
| pay_till | datetime | on a hold | must read | Until when a held booking can be confirmed; after it the airline releases the seats. |
| journeys[] | array | always | must read | The booking journey by journey: its dates, its flights and, for every passenger on it, who they are, their state, the PNR, the ticket, the fare paid for that journey and the add-ons. |
| journeys[].passengers[].pnr | string | once the airline confirmed | must read | The airline's record locator for this passenger on this journey. Empty until the hold or the ticket is confirmed. |
| journeys[].passengers[].status | string | always | must read | PENDING until confirmed, then CONFIRMED; CANCELLED, VOIDED or REISSUED when something happened to this passenger on this journey. |
| price | object | always | must read | The booking's price as a whole, in the components of the search price (base_fare, yq, yr, airline_gst, booking_fee, commission, other_taxes, total_fare, net_fare) plus ancillaries and fees. |
| journeys[].passengers[].fare | object | always | must read | What this passenger's journey cost, in the components of the search price plus ancillaries bought on it. |
| Total: 8 keys | ||||
Errors this call answers with (4)
| HTTP | code | message | detail | when |
|---|---|---|---|---|
| 401 | 9001 | Authentication required | Invalid token | |
| 403 | 9002 | You do not have permission for this action | Role without bookings.read. | |
| 400 | 3000 | Invalid request | Booking_id is required | |
| 404 | 9005 | Not found | Booking not found |
Questions developers ask (1)
- Why is pnr empty?
- The airline has not confirmed yet: the passenger reads PENDING. It appears once the hold or the ticket is confirmed.