← all test cases

Direct booking (paid, no hold) with ancillaries on a two-flight journey

DEL-BOM · one way · 2 adults · booked directly, no hold

As the hold case on a two-flight journey, but booked directly: paid and ticketed at once, no hold.

  1. 1 Search: 261 options
  2. 2 Reprice: 1 items
  3. 3 Ancillaries: 66 items
  4. 4 Seat map: 346 seats
  5. 5 Book directly (paid): 2 passengers
  6. 6 Booking details: 2 passengers
▸2. RepricePOST /flights/reprice1 items
What this step returned: 1 items(click to expand)
  • 1 item(s) sent: option 67155160… / price fe2482ad…
  • Repriced option on journey_indexes [0]: 2 flights (IX 1274 DEL-IXB, IX 1547 IXB-BOM); multi-flight reprice: yes
  • Fare Family : adult total 10,232, net 10,232; 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 10,232, net 10,232; itinerary_id expires at valid_till
  • 0 fare rule(s) in the reply
Request body
{
  "items": [
    {
      "option_id": "67155160-9e15-42ec-b748-408412542fb8",
      "price_id": "fe2482ad-2eab-41ab-baec-c48d56d34e31"
    }
  ]
}
Reply
{
  "itinerary_id": "2be18fc8-bbd2-466c-a216-13314c9965f6",
  "valid_till": "2026-10-20T23:21:31+05:30",
  "results": [
    {
      "journey_indexes": [
        0
      ],
      "option_id": "67155160-9e15-42ec-b748-408412542fb8",
      "segments": [
        {
          "segment_index": 0,
          "journey_index": 0,
          "from": "DEL",
          "to": "IXB",
          "airline_code": "IX",
          "airline_name": "Air India Express",
          "aircraft_type": "Boeing 7M8",
          "flight_number": "1274",
          "stops": 1,
          "departure_time": "2026-11-19T12:20:00",
          "departure_terminal": "1",
          "arrival_time": "2026-11-19T14:30:00",
          "duration": 130,
          "connecting_time": 265
        },
        {
          "segment_index": 1,
          "journey_index": 0,
          "from": "IXB",
          "to": "BOM",
          "airline_code": "IX",
          "airline_name": "Air India Express",
          "aircraft_type": "Boeing 7M8",
          "flight_number": "1547",
          "departure_time": "2026-11-19T18:55:00",
          "arrival_time": "2026-11-19T21:55:00",
          "arrival_terminal": "2",
          "duration": 180,
          "connecting_time": 265
        }
      ],
      "fare": {
        "price_id": "fe2482ad-2eab-41ab-baec-c48d56d34e31",
        "adult": {
          "fare": {
            "base_fare": 6462,
            "yq": 1700,
            "booking_fee": 200,
            "other_taxes": 594,
            "total_fare": 10231.88,
            "net_fare": 10231.88,
            "pax_count": 2
          },
          "fare_ref": "Family",
          "cabin_class": "Economy",
          "booking_class": "FM",
          "fare_basis": "ECFA000",
          "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": 3231,
      "yq": 850,
      "booking_fee": 100,
      "other_taxes": 297,
      "total_fare": 5115.94,
      "net_fare": 5115.94,
      "pax_count": 2
    },
    "total": {
      "base_fare": 6462,
      "yq": 1700,
      "booking_fee": 200,
      "other_taxes": 594,
      "total_fare": 10231.88,
      "net_fare": 10231.88,
      "pax_count": 2
    }
  }
}
Keys and what they mean
Request
keytypewhen presentimportancemeaning
items[]arrayrequired, one per groupmust readOne 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_idstringrequiredmust readThe option_id from the search reply.
items[].price_idstringrequiredmust readThe 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
keytypewhen presentimportancemeaning
itinerary_idstringalwaysmust readNames the repriced itinerary. Send it to ancillaries, seat map and book.
valid_tilldatetimealwaysmust readUntil when the itinerary_id can be booked. After it, book answers 410: reprice again.
results[]arrayalwaysmust readOne entry per item sent: journey_indexes, option_id, the flights (segments) and the one fare, priced again.
results[].segments[]arrayalwaysmust readThe flights in order, each named by (journey_index, segment_index); segment_index restarts at 0 in every journey.
results[].fareobjectalwaysmust readThe 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.totalobjectalwaysmust readThe 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)objectalways (child, infant when requested)usefulThe 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_requirementsobjectalwaysmust readWhat 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_holdbooleanalwaysmust readtrue when this fare may be booked on hold (book with is_hold true); false: book directly, paid at once.
fare_rulesobjectwhen knownusefulThe 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[]arrayonly when the price changedmust readOne 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)
HTTPcodemessagedetailwhen
4019001Authentication requiredInvalid token
4005100Invalid search requestoption_id and price_id are requiredAlso 'each review item needs option_id and price_id'.
4045103Flight not foundoption_id or price_id not in a stored search.
4105102Search results have expired
5025001The airline or supplier could not complete the requestReprice failed at the airline.
5045002A 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. AncillariesPOST /flights/ancillaries66 items
What this step returned: 66 items(click to expand)
  • 2 flight(s) in segments[]: (journey 0, segment 0) IX 1274 DEL-IXB; (journey 0, segment 1) IX 1547 IXB-BOM
  • 10 bags (per journey): journey 0: 10 items
  • bags: price from 2,100 to 18,750; free items: 0
  • 32 meals (per flight): (journey 0, segment 0): 16 items; (journey 0, segment 1): 16 items
  • meals: price from 100 to 700; free items: 0
  • 24 other items (per flight): (journey 0, segment 0): 12 items; (journey 0, segment 1): 12 items
  • other items: price from 0 to 6,000; free items: 9
  • Errors: add-ons on DEL_BOM_IX_1274 dropped: not a flight of this itinerary; add-ons on DEL_BOM_IX_1274 dropped: not a flight of this itinerary
Request body
{
  "itinerary_id": "2be18fc8-bbd2-466c-a216-13314c9965f6"
}
Reply
{
  "itinerary_id": "2be18fc8-bbd2-466c-a216-13314c9965f6",
  "segments": [
    {
      "journey_index": 0,
      "segment_index": 0,
      "airline_code": "IX",
      "flight_number": "1274",
      "from": "DEL",
      "to": "IXB"
    },
    {
      "journey_index": 0,
      "segment_index": 1,
      "airline_code": "IX",
      "flight_number": "1547",
      "from": "IXB",
      "to": "BOM"
    }
  ],
  "baggage": [
    {
      "journey_index": 0,
      "items": [
        {
          "code": "PBCB",
          "label": "+ 5Kgs Xtra-Carry-On",
          "price": 3500
        },
        {
          "code": "PBCA",
          "label": "+3Kgs Xtra-Carry-On",
          "price": 2100
        },
        {
          "code": "PBAF",
          "label": "+ 25 Kg Xcess Baggage",
          "price": 18750
        },
        "… 7 more (open the viewer)"
      ]
    }
  ],
  "meal": [
    {
      "journey_index": 0,
      "segment_index": 0,
      "items": [
        {
          "code": "VSDB",
          "label": "Shondesh Tiramisu",
          "price": 250
        },
        {
          "code": "VQSB",
          "label": "Quinoa Salad",
          "price": 400
        },
        {
          "code": "VPMB",
          "label": "Paneer Makhani with Jeera Aloo & Vegetable Pulao",
          "price": 600
        },
        "… 13 more (open the viewer)"
      ]
    },
    {
      "journey_index": 0,
      "segment_index": 1,
      "items": [
        {
          "code": "VSDB",
          "label": "Shondesh Tiramisu",
          "price": 250
        },
        {
          "code": "VQSB",
          "label": "Quinoa Salad",
          "price": 400
        },
        {
          "code": "VPMB",
          "label": "Paneer Makhani with Jeera Aloo & Vegetable Pulao",
          "price": 600
        },
        "… 13 more (open the viewer)"
      ]
    }
  ],
  "other": [
    {
      "journey_index": 0,
      "segment_index": 0,
      "items": [
        {
          "code": "WCHS",
          "label": "Wheelchair Unable to ascend and descend step",
          "price": 1500
        },
        {
          "code": "WCHR",
          "label": "Wheelchair Unable to walk long distance",
          "price": 1500
        },
        {
          "code": "WCHC",
          "label": "Cabin Wheelchair",
          "price": 0
        },
        "… 9 more (open the viewer)"
      ]
    },
    {
      "journey_index": 0,
      "segment_index": 1,
      "items": [
        {
          "code": "MKFR",
          "label": "Unused Iitnerary",
          "price": 0
        },
        {
          "code": "GUNS",
          "label": "Guns handling fee",
          "price": 5500
        },
        {
          "code": "FRLK",
          "label": "Fare Lock SSR",
          "price": 500
        },
        "… 9 more (open the viewer)"
      ]
    }
  ],
  "errors": [
    "add-ons on DEL_BOM_IX_1274 dropped: not a flight of this itinerary",
    "add-ons on DEL_BOM_IX_1274 dropped: not a flight of this itinerary"
  ]
}
Keys and what they mean
Request
keytypewhen presentimportancemeaning
itinerary_idstringrequiredmust readThe itinerary_id from reprice. An expired one answers 404: reprice again.
Total: 1 keys
Reply
keytypewhen presentimportancemeaning
segments[]arrayalwaysusefulThe flights of the itinerary, each named by (journey_index, segment_index), with airline_code, flight_number, from and to.
baggage[]arrayalways (empty when none)must readExtra bags per journey: journey_index and items. A bag covers every flight of its journey, so it has no segment_index.
meal[]arrayalways (empty when none)must readMeals per flight: journey_index, segment_index and items.
other[]arrayalways (empty when none)usefulOther items per flight (priority check-in, bundles): journey_index, segment_index and items.
<list>[].items[]arrayalwaysmust readWhat can be bought: code (send it to book), label (show it), price (per passenger, INR).
Total: 5 keys
Errors this call answers with (4)
HTTPcodemessagedetailwhen
4019001Authentication requiredInvalid token
4005100Invalid search requestitinerary_id is requirederrors[]: field itinerary_id, rule required.
4045104Itinerary not found or expiredUnknown or expired itinerary_id.
5025001The airline or supplier could not complete the request
Questions developers ask (1)
How do I send a bag and a meal on book?
A bag with its code and journey_index; a meal, seat or other item with its code, journey_index and segment_index, exactly as this reply gave them.
▸4. Seat mapPOST /flights/seat-map346 seats
What this step returned: 346 seats(click to expand)
  • 2 flight(s) with a seat map of 2 in the itinerary: (journey 0, segment 0) 7M8, 162 seats; (journey 0, segment 1) 7M8, 184 seats
  • 338 seats available of 346; free: 2; paid: 336 (from 300 to 1,700)
  • Window 104, aisle 114, middle 114; exit row 20; extra leg room 60; infant allowed 0
Request body
{
  "itinerary_id": "2be18fc8-bbd2-466c-a216-13314c9965f6"
}
Reply
{
  "itinerary_id": "2be18fc8-bbd2-466c-a216-13314c9965f6",
  "segments": [
    {
      "journey_index": 0,
      "segment_index": 0,
      "airline_code": "IX",
      "flight_number": "1274",
      "from": "DEL",
      "to": "IXB"
    },
    {
      "journey_index": 0,
      "segment_index": 1,
      "airline_code": "IX",
      "flight_number": "1547",
      "from": "IXB",
      "to": "BOM"
    }
  ],
  "seats": [
    {
      "journey_index": 0,
      "segment_index": 0,
      "aircraft_type": "7M8",
      "seats": [
        {
          "aisle": false,
          "amount": 1700,
          "code": "WINDOW",
          "column": 1,
          "desc": "1A",
          "exit_row": false,
          "infant": false,
          "is_available": false,
          "leg_room": true,
          "middle": false,
          "near_wings": false,
          "reclining": false,
          "row": 1,
          "tax": 80,
          "window": true
        },
        {
          "aisle": true,
          "amount": 1700,
          "code": "AISLE",
          "column": 3,
          "desc": "1C",
          "exit_row": false,
          "infant": false,
          "is_available": false,
          "leg_room": true,
          "middle": false,
          "near_wings": false,
          "reclining": false,
          "row": 1,
          "tax": 80,
          "window": false
        },
        {
          "aisle": true,
          "amount": 1700,
          "code": "AISLE",
          "column": 4,
          "desc": "1D",
          "exit_row": false,
          "infant": false,
          "is_available": false,
          "leg_room": true,
          "middle": false,
          "near_wings": false,
          "reclining": false,
          "row": 1,
          "tax": 80,
          "window": false
        },
        "… 159 more (open the viewer)"
      ],
      "total_seats": 162
    },
    {
      "journey_index": 0,
      "segment_index": 1,
      "aircraft_type": "7M8",
      "seats": [
        {
          "aisle": false,
          "amount": 1700,
          "code": "WINDOW",
          "column": 1,
          "desc": "1A",
          "exit_row": false,
          "infant": false,
          "is_available": true,
          "leg_room": true,
          "middle": false,
          "near_wings": false,
          "reclining": false,
          "row": 1,
          "tax": 80,
          "window": true
        },
        {
          "aisle": false,
          "amount": 1700,
          "code": "MIDDLE",
          "column": 2,
          "desc": "1B",
          "exit_row": false,
          "infant": false,
          "is_available": true,
          "leg_room": true,
          "middle": true,
          "near_wings": false,
          "reclining": false,
          "row": 1,
          "tax": 80,
          "window": false
        },
        {
          "aisle": true,
          "amount": 1700,
          "code": "AISLE",
          "column": 3,
          "desc": "1C",
          "exit_row": false,
          "infant": false,
          "is_available": true,
          "leg_room": true,
          "middle": false,
          "near_wings": false,
          "reclining": false,
          "row": 1,
          "tax": 80,
          "window": false
        },
        "… 181 more (open the viewer)"
      ],
      "total_seats": 184
    }
  ]
}
Keys and what they mean
Request
keytypewhen presentimportancemeaning
itinerary_idstringrequiredmust readThe itinerary_id from reprice.
Total: 1 keys
Reply
keytypewhen presentimportancemeaning
segments[]arrayalwaysusefulThe flights of the itinerary, each named by (journey_index, segment_index), with airline_code, flight_number, from and to.
seats[]arrayalways (empty when the airline gives no map)must readOne seat map per flight: journey_index, segment_index, aircraft_type, total_seats and seats.
seats[].seats[]arrayalwaysmust readEvery seat: code (send it to book), desc (e.g. 3A, show it), row, column, amount (price; 0 = free), tax, is_available.
seats[].seats[].window / aisle / middlebooleanalwaysusefulWhere the seat is in its row.
seats[].seats[].exit_row / leg_room / infant / near_wings / recliningbooleanalwaysusefulSeat features. A passenger with an infant needs a seat with infant true; exit rows have rules of their own.
Total: 5 keys
Errors this call answers with (4)
HTTPcodemessagedetailwhen
4019001Authentication requiredInvalid token
4005100Invalid search requestitinerary_id is required
4045104Itinerary not found or expired
5025001The airline or supplier could not complete the request
▸5. Book directly (paid)POST /flights/book2 passengers
What this step returned: 2 passengers(click to expand)
  • Paid booking (is_hold False) with 2 passenger(s): ADULT 2
  • Status SUCCESS, booking_id AIOR366189, amount 17,782, no pay_till in the reply
  • GST details sent: no; ancillaries selected: 5
Request body
{
  "itinerary_id": "2be18fc8-bbd2-466c-a216-13314c9965f6",
  "is_hold": false,
  "pax_details": [
    {
      "first_name": "Rohan",
      "last_name": "Kulkarni",
      "pax_type": "ADULT",
      "title": "Mr",
      "gender": "male",
      "dob": "1990-05-12",
      "phone": "9876543210",
      "email": "rohan.verma@example.com",
      "ancillaries": {
        "seat": [
          {
            "code": "WINDOW",
            "price": 1700,
            "label": "3A",
            "journey_index": 0,
            "segment_index": 0
          },
          {
            "code": "WINDOW",
            "price": 1700,
            "label": "1A",
            "journey_index": 0,
            "segment_index": 1
          }
        ],
        "meal": [
          {
            "code": "VSDB",
            "price": 250,
            "label": "Shondesh Tiramisu",
            "journey_index": 0,
            "segment_index": 0
          }
        ],
        "baggage": [
          {
            "code": "PBCB",
            "price": 3500,
            "label": "+ 5Kgs Xtra-Carry-On",
            "journey_index": 0
          }
        ]
      }
    },
    {
      "first_name": "Priya",
      "last_name": "Kulkarni",
      "pax_type": "ADULT",
      "title": "Mrs",
      "gender": "female",
      "dob": "1992-08-23",
      "phone": "9876543210",
      "email": "rohan.verma@example.com",
      "ancillaries": {
        "meal": [
          {
            "code": "VQSB",
            "price": 400,
            "label": "Quinoa Salad",
            "journey_index": 0,
            "segment_index": 1
          }
        ]
      }
    }
  ]
}
Reply
{
  "booking_id": "AIOR366189",
  "itinerary_id": "2be18fc8-bbd2-466c-a216-13314c9965f6",
  "status": "SUCCESS",
  "amount": 17781.88
}
Keys and what they mean
Request
keytypewhen presentimportancemeaning
itinerary_idstringrequiredmust readThe itinerary_id from reprice, before its valid_till.
is_holdbooleanoptional, default falsemust readfalse: 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[]arrayrequired, one per passengermust readEvery passenger of the search, adults first: first_name, last_name, pax_type (ADULT, CHILD, INFANT), title, gender, dob, phone and email.
pax_details[].passport_detailsobjectwhen reprice says passport_mandatoryusefulpassport_number, passport_issue_date, passport_expiry_date, passport_issue_country, nationality.
pax_details[].ancillariesobjectoptionalusefulWhat 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_detailsobjectoptional; required when reprice says is_gst_mandatoryusefulThe company on the invoice: name, number (GSTIN), address, email, mobile.
Total: 6 keys
Reply
keytypewhen presentimportancemeaning
booking_idstringalwaysmust readYour booking's id. Send it to booking details, confirm-hold and release.
statusstringalwaysmust readONHOLD (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_tilldatetimeon a holdmust readUntil when the hold can be confirmed; after it the airline releases the seats.
amountnumberalwaysmust readWhat the booking costs (INR); taken at once for a direct booking, at confirm-hold for a hold.
itinerary_idstringalwaysinformationalThe itinerary that was booked.
Total: 5 keys
Errors this call answers with (7)
HTTPcodemessagedetailwhen
4019001Authentication requiredInvalid token
4039002You do not have permission for this actionRole without bookings.create (Finance, Operation, Tech).
4003000Invalid request(the API's detail text)
4009003Some fields are missing or invalidSchema validation of the body (required fields, formats); errors[] lists them.
5033003A service the API depends on is unavailable(the API's text)the API answered 5xx or did not answer.
4093101Hold booking limit reached
5009000Something went wrongPayment 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.
▸6. Booking detailsPOST /flights/booking/details2 passengers
What this step returned: 2 passengers(click to expand)
  • Status SUCCESS, payment SUCCESS, route DOMESTIC
  • Journey 0 DEL-BOM: segment 0 IX 1274 DEL-IXB; segment 1 IX 1547 IXB-BOM
  • passenger 0 ADULT Rohan: CONFIRMED, PNR C3TY9T, ticket C3TY9T, fare Family FM/ECFA000, total 12,266, net 12,266, baggage hand 7kg, checkin 15kg; ancillaries 4
  • passenger 1 ADULT Priya: CONFIRMED, PNR C3TY9T, ticket C3TY9T, fare Family FM/ECFA000, total 5,516, net 5,516, baggage hand 7kg, checkin 15kg; ancillaries 1
  • PNR on 2 of 2 passenger-journeys; 2 passenger(s): ADULT Rohan Kulkarni, ADULT Priya Kulkarni
  • Booking price: base 6,462, yq 1,700, other taxes 178, total 17,782, net 17,782
Request body
{
  "booking_id": "AIOR366189"
}
Reply
{
  "booking_id": "AIOR366189",
  "status": "SUCCESS",
  "payment_status": "SUCCESS",
  "created_at": "2026-10-20T22:51:37Z",
  "route_type": "DOMESTIC",
  "journeys": [
    {
      "journey_index": 0,
      "from": "DEL",
      "to": "BOM",
      "departure_time": "2026-11-19T12:20",
      "arrival_time": "2026-11-19T21:55",
      "segments": [
        {
          "segment_index": 0,
          "from": "DEL",
          "to": "IXB",
          "airline_code": "IX",
          "airline_name": "Air India Express",
          "flight_number": "1274",
          "departure_time": "2026-11-19T12:20",
          "arrival_time": "2026-11-19T14:30",
          "departure_terminal": "1",
          "duration": 130
        },
        {
          "segment_index": 1,
          "from": "IXB",
          "to": "BOM",
          "airline_code": "IX",
          "airline_name": "Air India Express",
          "flight_number": "1547",
          "departure_time": "2026-11-19T18:55",
          "arrival_time": "2026-11-19T21:55",
          "arrival_terminal": "2",
          "duration": 180
        }
      ],
      "passengers": [
        {
          "passenger_index": 0,
          "first_name": "Rohan",
          "last_name": "Kulkarni",
          "pax_type": "ADULT",
          "title": "Mr",
          "gender": "male",
          "dob": "1990-05-12",
          "fare": {
            "base_fare": 3231,
            "yq": 850,
            "airline_gst": 208,
            "booking_fee": 100,
            "other_taxes": 89,
            "ancillaries": 7150,
            "total_fare": 12265.94,
            "net_fare": 12265.94
          },
          "status": "CONFIRMED",
          "pnr": "C3TY9T",
          "ticket_number": "C3TY9T",
          "fare_ref": "Family",
          "cabin_class": "Economy",
          "booking_class": "FM",
          "fare_basis": "ECFA000",
          "baggage": {
            "hand": {
              "kg": 7
            },
            "checkin": {
              "kg": 15
            }
          },
          "ancillaries": {
            "seat": [
              {
                "code": "WINDOW",
                "price": 1700,
                "label": "3A",
                "segment_index": 0
              },
              {
                "code": "WINDOW",
                "price": 1700,
                "label": "1A",
                "segment_index": 1
              }
            ],
            "baggage": [
              {
                "code": "PBCB",
                "price": 3500,
                "label": "+ 5Kgs Xtra-Carry-On"
              }
            ],
            "meal": [
              {
                "code": "VSDB",
                "price": 250,
                "label": "Shondesh Tiramisu",
                "segment_index": 0
              }
            ]
          }
        },
        {
          "passenger_index": 1,
          "first_name": "Priya",
          "last_name": "Kulkarni",
          "pax_type": "ADULT",
          "title": "Mrs",
          "gender": "female",
          "dob": "1992-08-23",
          "fare": {
            "base_fare": 3231,
            "yq": 850,
            "airline_gst": 208,
            "booking_fee": 100,
            "other_taxes": 89,
            "ancillaries": 400,
            "total_fare": 5515.94,
            "net_fare": 5515.94
          },
          "status": "CONFIRMED",
          "pnr": "C3TY9T",
          "ticket_number": "C3TY9T",
          "fare_ref": "Family",
          "cabin_class": "Economy",
          "booking_class": "FM",
          "fare_basis": "ECFA000",
          "baggage": {
            "hand": {
              "kg": 7
            },
            "checkin": {
              "kg": 15
            }
          },
          "ancillaries": {
            "meal": [
              {
                "code": "VQSB",
                "price": 400,
                "label": "Quinoa Salad",
                "segment_index": 1
              }
            ]
          }
        }
      ]
    }
  ],
  "price": {
    "base_fare": 6462,
    "yq": 1700,
    "airline_gst": 416,
    "booking_fee": 200,
    "other_taxes": 178,
    "ancillaries": 7550,
    "agent_markup": 1161.84,
    "total_fare": 17781.88,
    "net_fare": 17781.88
  }
}
Keys and what they mean
Request
keytypewhen presentimportancemeaning
booking_idstringrequiredmust readThe id book returned.
Total: 1 keys
Reply
keytypewhen presentimportancemeaning
statusstringalwaysmust readThe booking's state: CREATED, ONHOLD, SUCCESS, PNR_RELEASED, CANCELLED, FAILED.
payment_statusstringalwaysmust readPENDING until paid, then SUCCESS; FAILED or REFUNDED later.
pay_tilldatetimeon a holdmust readUntil when a held booking can be confirmed; after it the airline releases the seats.
journeys[]arrayalwaysmust readThe 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[].pnrstringonce the airline confirmedmust readThe airline's record locator for this passenger on this journey. Empty until the hold or the ticket is confirmed.
journeys[].passengers[].statusstringalwaysmust readPENDING until confirmed, then CONFIRMED; CANCELLED, VOIDED or REISSUED when something happened to this passenger on this journey.
priceobjectalwaysmust readThe 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[].fareobjectalwaysmust readWhat 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)
HTTPcodemessagedetailwhen
4019001Authentication requiredInvalid token
4039002You do not have permission for this actionRole without bookings.read.
4003000Invalid requestBooking_id is required
4049005Not foundBooking 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.