{
 "info": {
  "name": "AirIQ Flight API",
  "description": "SAMPLE: generated from the documentation data before the API shape is frozen; regenerated after.\n\nFill api_key in the environment, run the Flow folder top to bottom: each call stores the ids the next one needs.",
  "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
 },
 "variable": [
  {
   "key": "base_url",
   "value": "https://api.uat.airiqtech.com"
  },
  {
   "key": "api_key",
   "value": ""
  },
  {
   "key": "token",
   "value": ""
  },
  {
   "key": "option_id",
   "value": ""
  },
  {
   "key": "price_id",
   "value": ""
  },
  {
   "key": "itinerary_id",
   "value": ""
  },
  {
   "key": "booking_id",
   "value": ""
  }
 ],
 "item": [
  {
   "name": "Flow",
   "description": "The calls in order. Variables carry the ids from one call to the next.",
   "item": [
    {
     "name": "1 POST /generate-token",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{base_url}}/generate-token",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "generate-token"
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"api_key\": \"{{api_key}}\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Exchange the API key for a token that lives 4 hours (expires_in 14400). Every later call sends it as Authorization: Bearer <token>."
     },
     "event": [
      {
       "listen": "test",
       "script": {
        "type": "text/javascript",
        "exec": [
         "const b = pm.response.json(); if (b.token) pm.collectionVariables.set(\"token\", b.token);"
        ]
       }
      }
     ]
    },
    {
     "name": "2 POST /flights/search",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       },
       {
        "key": "Authorization",
        "value": "Bearer {{token}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/flights/search",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "flights",
        "search"
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"BLR\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-14\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1,\n  \"fare_types\": [\n    1\n  ],\n  \"direct_flight\": false,\n  \"preferred_airlines\": [\n    \"QP\"\n  ],\n  \"detail\": \"journey\",\n  \"include_fare_rules\": true\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "One request, complete results: options grouped by the journeys their fares cover, each fare priced once for the whole option with a journey view; the per-flight segment view on request. The UI uses the streaming route instead; this one waits for all suppliers."
     },
     "event": [
      {
       "listen": "test",
       "script": {
        "type": "text/javascript",
        "exec": [
         "const b = pm.response.json(); const g = (b.results||[])[0]; const o = g && g.options[0]; if (o) { pm.collectionVariables.set(\"option_id\", o.option_id); pm.collectionVariables.set(\"price_id\", o.fare_options[0].price_id); }"
        ]
       }
      }
     ]
    },
    {
     "name": "3 POST /flights/reprice",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       },
       {
        "key": "Authorization",
        "value": "Bearer {{token}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/flights/reprice",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "flights",
        "reprice"
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"{{option_id}}\",\n      \"price_id\": \"{{price_id}}\"\n    }\n  ]\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Reprice the chosen fare(s) with the airline and return the itinerary: the final price, what the booking needs (passport, DOB, GST, hold allowed) and any price change."
     },
     "event": [
      {
       "listen": "test",
       "script": {
        "type": "text/javascript",
        "exec": [
         "const b = pm.response.json(); if (b.itinerary_id) pm.collectionVariables.set(\"itinerary_id\", b.itinerary_id);"
        ]
       }
      }
     ]
    },
    {
     "name": "4 POST /flights/ancillaries",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       },
       {
        "key": "Authorization",
        "value": "Bearer {{token}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/flights/ancillaries",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "flights",
        "ancillaries"
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"itinerary_id\": \"{{itinerary_id}}\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Optional. Baggage, meal and other add-ons on sale on the itinerary, each with the journey and the flights it covers."
     }
    },
    {
     "name": "5 POST /flights/seat-map",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       },
       {
        "key": "Authorization",
        "value": "Bearer {{token}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/flights/seat-map",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "flights",
        "seat-map"
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"itinerary_id\": \"{{itinerary_id}}\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Optional. The seat map of every flight of the itinerary with price and availability per seat."
     }
    },
    {
     "name": "6 POST /flights/book",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       },
       {
        "key": "Authorization",
        "value": "Bearer {{token}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/flights/book",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "flights",
        "book"
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"itinerary_id\": \"{{itinerary_id}}\",\n  \"is_hold\": false,\n  \"gst_details\": {\n    \"name\": \"Example Travels Pvt Ltd\",\n    \"number\": \"27AABCE1234F1Z5\",\n    \"address\": \"12 MG Road, Mumbai 400001\",\n    \"email\": \"accounts@example.com\",\n    \"mobile\": \"+919876543210\"\n  },\n  \"pax_details\": [\n    {\n      \"first_name\": \"Rahul\",\n      \"last_name\": \"Sharma\",\n      \"pax_type\": \"ADULT\",\n      \"title\": \"Mr\",\n      \"gender\": \"male\",\n      \"dob\": \"1990-05-12\",\n      \"phone\": \"+919876543210\",\n      \"email\": \"rahul.sharma@example.com\",\n      \"passport_details\": {\n        \"passport_number\": \"Z1234567\",\n        \"passport_issue_date\": \"2022-01-10\",\n        \"passport_expiry_date\": \"2032-01-09\",\n        \"passport_issue_country\": \"IN\",\n        \"nationality\": \"IN\"\n      },\n      \"ancillaries\": {\n        \"seat\": [\n          {\n            \"code\": \"1A\",\n            \"price\": 600.0,\n            \"label\": \"window\",\n            \"journey_index\": 0,\n            \"segment_index\": 0\n          }\n        ],\n        \"baggage\": [\n          {\n            \"code\": \"XBAG05\",\n            \"price\": 1500.0,\n            \"label\": \"Extra 5 Kg\",\n            \"journey_index\": 0\n          }\n        ],\n        \"meal\": [],\n        \"other\": []\n      }\n    }\n  ]\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Save the passengers on the itinerary, then pay from the wallet and ticket (is_hold false) or hold the booking without payment (is_hold true)."
     },
     "event": [
      {
       "listen": "test",
       "script": {
        "type": "text/javascript",
        "exec": [
         "const b = pm.response.json(); if (b.booking_id) pm.collectionVariables.set(\"booking_id\", b.booking_id);"
        ]
       }
      }
     ]
    },
    {
     "name": "7 POST /flights/booking/details",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       },
       {
        "key": "Authorization",
        "value": "Bearer {{token}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/flights/booking/details",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "flights",
        "booking",
        "details"
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"booking_id\": \"{{booking_id}}\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "The booking as stored: status, payment status, the flights with the PNR, the passengers with their fare and ticket number per flight, the price."
     }
    },
    {
     "name": "8 POST /flights/booking/confirm-hold",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       },
       {
        "key": "Authorization",
        "value": "Bearer {{token}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/flights/booking/confirm-hold",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "flights",
        "booking",
        "confirm-hold"
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"booking_id\": \"{{booking_id}}\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Pay a held booking from the wallet and ticket it, before pay_till."
     }
    },
    {
     "name": "9 POST /flights/booking/release",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       },
       {
        "key": "Authorization",
        "value": "Bearer {{token}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/flights/booking/release",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "flights",
        "booking",
        "release"
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"booking_id\": \"{{booking_id}}\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Give up a held booking: the PNR is released at the airline and the order becomes PNR_RELEASED. A ticketed booking cannot be released."
     }
    }
   ]
  },
  {
   "name": "Test cases",
   "description": "The real requests of every captured case, for comparison with your own.",
   "item": [
    {
     "name": "Domestic, one way, 1 adult",
     "description": "Domestic one way for 1 adult: search, reprice the cheapest fare, then the ancillaries and the seat map of the itinerary, book it on hold (no payment), read the booking details and release the hold. One search segment; one group, journey_indexes [0]; reprice takes one item.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-20\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"eff1ddbb-334e-4048-9709-c75d1ab02217\",\n      \"price_id\": \"520060e3-da45-4201-b044-3550b51b7db8\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Ancillaries (POST /flights/ancillaries)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/ancillaries",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "ancillaries"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"2c7f88f4-1e04-4f13-b3ed-23f1c1b94353\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Seat map (POST /flights/seat-map)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/seat-map",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "seat-map"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"2c7f88f4-1e04-4f13-b3ed-23f1c1b94353\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Book on hold (POST /flights/book)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/book",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "book"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"2c7f88f4-1e04-4f13-b3ed-23f1c1b94353\",\n  \"is_hold\": true,\n  \"pax_details\": [\n    {\n      \"first_name\": \"Rohan\",\n      \"last_name\": \"Chawla\",\n      \"pax_type\": \"ADULT\",\n      \"title\": \"Mr\",\n      \"gender\": \"male\",\n      \"dob\": \"1990-05-12\",\n      \"phone\": \"9876543210\",\n      \"email\": \"rohan.verma@example.com\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Booking details (POST /flights/booking/details)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/booking/details",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "booking",
          "details"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"booking_id\": \"AIOR799682\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Release the hold (POST /flights/booking/release)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/booking/release",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "booking",
          "release"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"booking_id\": \"AIOR799682\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 409. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Domestic, one way, 1 adult, 1 child, 1 infant",
     "description": "Domestic one way for 1 adult, 1 child, 1 infant: search, reprice the cheapest fare, then the ancillaries and the seat map of the itinerary, book it on hold (no payment), read the booking details and release the hold. One search segment; one group, journey_indexes [0]; reprice takes one item.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-20\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 1,\n  \"infant\": 1,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"16560204-43ef-4e6d-92d7-3c145126c052\",\n      \"price_id\": \"d2f877b1-3174-425a-9d67-1bf51fc04f48\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Ancillaries (POST /flights/ancillaries)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/ancillaries",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "ancillaries"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"4b9aeb17-3bcd-4b35-bdf2-90b041d6707f\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Seat map (POST /flights/seat-map)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/seat-map",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "seat-map"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"4b9aeb17-3bcd-4b35-bdf2-90b041d6707f\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Book on hold (POST /flights/book)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/book",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "book"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"4b9aeb17-3bcd-4b35-bdf2-90b041d6707f\",\n  \"is_hold\": true,\n  \"pax_details\": [\n    {\n      \"first_name\": \"Rohan\",\n      \"last_name\": \"Desai\",\n      \"pax_type\": \"ADULT\",\n      \"title\": \"Mr\",\n      \"gender\": \"male\",\n      \"dob\": \"1990-05-12\",\n      \"phone\": \"9876543210\",\n      \"email\": \"rohan.verma@example.com\"\n    },\n    {\n      \"first_name\": \"Anya\",\n      \"last_name\": \"Desai\",\n      \"pax_type\": \"CHILD\",\n      \"title\": \"Miss\",\n      \"gender\": \"female\",\n      \"dob\": \"2018-10-21\",\n      \"phone\": \"9876543210\",\n      \"email\": \"rohan.verma@example.com\"\n    },\n    {\n      \"first_name\": \"Vihaan\",\n      \"last_name\": \"Desai\",\n      \"pax_type\": \"INFANT\",\n      \"title\": \"Master\",\n      \"gender\": \"male\",\n      \"dob\": \"2026-02-23\",\n      \"phone\": \"9876543210\",\n      \"email\": \"rohan.verma@example.com\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Booking details (POST /flights/booking/details)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/booking/details",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "booking",
          "details"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"booking_id\": \"AIOR693516\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Release the hold (POST /flights/booking/release)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/booking/release",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "booking",
          "release"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"booking_id\": \"AIOR693516\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 409. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Domestic, return, 1 adult",
     "description": "Domestic return for 1 adult: search, reprice the cheapest fare, then the ancillaries and the seat map of the itinerary, book it on hold (no payment), read the booking details and release the hold. Two search segments. Domestic fares are sold per direction: two groups, [0] and [1]; reprice takes two items.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-20\"\n    },\n    {\n      \"from\": \"BOM\",\n      \"to\": \"DEL\",\n      \"date\": \"2026-11-25\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"33f7112a-f10f-4975-8b0b-b614e38a2e41\",\n      \"price_id\": \"39baf0d4-92fe-4741-939a-64e780f77a6e\"\n    },\n    {\n      \"option_id\": \"7ee707d5-19b5-493c-a96e-98b7180cdafd\",\n      \"price_id\": \"f2973366-f566-41ea-93f7-733fbb13ee24\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Ancillaries (POST /flights/ancillaries)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/ancillaries",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "ancillaries"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"e33a765e-a35e-4ee7-a72b-cf59d64e2eba\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Seat map (POST /flights/seat-map)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/seat-map",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "seat-map"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"e33a765e-a35e-4ee7-a72b-cf59d64e2eba\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Book on hold (POST /flights/book)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/book",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "book"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"e33a765e-a35e-4ee7-a72b-cf59d64e2eba\",\n  \"is_hold\": true,\n  \"pax_details\": [\n    {\n      \"first_name\": \"Rohan\",\n      \"last_name\": \"Pillai\",\n      \"pax_type\": \"ADULT\",\n      \"title\": \"Mr\",\n      \"gender\": \"male\",\n      \"dob\": \"1990-05-12\",\n      \"phone\": \"9876543210\",\n      \"email\": \"rohan.verma@example.com\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Booking details (POST /flights/booking/details)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/booking/details",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "booking",
          "details"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"booking_id\": \"AIOR432493\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Release the hold (POST /flights/booking/release)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/booking/release",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "booking",
          "release"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"booking_id\": \"AIOR432493\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Domestic, return, 1 adult, 1 child, 1 infant",
     "description": "Domestic return for 1 adult, 1 child, 1 infant: search, reprice the cheapest fare, then the ancillaries and the seat map of the itinerary, book it on hold (no payment), read the booking details and release the hold. Two search segments. Domestic fares are sold per direction: two groups, [0] and [1]; reprice takes two items.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-20\"\n    },\n    {\n      \"from\": \"BOM\",\n      \"to\": \"DEL\",\n      \"date\": \"2026-11-25\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 1,\n  \"infant\": 1,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"348035e5-4322-4044-8cdd-c23ff64b6624\",\n      \"price_id\": \"70060236-85cb-494f-b9b9-741c2dff9b82\"\n    },\n    {\n      \"option_id\": \"a17d077f-71de-4e3a-9dd7-fc73497dfaa4\",\n      \"price_id\": \"d519d70c-663a-4a90-8307-433fbb70c663\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Ancillaries (POST /flights/ancillaries)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/ancillaries",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "ancillaries"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"99cae871-4739-42be-aef1-98a2349c6190\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Seat map (POST /flights/seat-map)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/seat-map",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "seat-map"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"99cae871-4739-42be-aef1-98a2349c6190\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Book on hold (POST /flights/book)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/book",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "book"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"99cae871-4739-42be-aef1-98a2349c6190\",\n  \"is_hold\": true,\n  \"pax_details\": [\n    {\n      \"first_name\": \"Rohan\",\n      \"last_name\": \"Nair\",\n      \"pax_type\": \"ADULT\",\n      \"title\": \"Mr\",\n      \"gender\": \"male\",\n      \"dob\": \"1990-05-12\",\n      \"phone\": \"9876543210\",\n      \"email\": \"rohan.verma@example.com\"\n    },\n    {\n      \"first_name\": \"Anya\",\n      \"last_name\": \"Nair\",\n      \"pax_type\": \"CHILD\",\n      \"title\": \"Miss\",\n      \"gender\": \"female\",\n      \"dob\": \"2018-10-21\",\n      \"phone\": \"9876543210\",\n      \"email\": \"rohan.verma@example.com\"\n    },\n    {\n      \"first_name\": \"Vihaan\",\n      \"last_name\": \"Nair\",\n      \"pax_type\": \"INFANT\",\n      \"title\": \"Master\",\n      \"gender\": \"male\",\n      \"dob\": \"2026-02-23\",\n      \"phone\": \"9876543210\",\n      \"email\": \"rohan.verma@example.com\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Booking details (POST /flights/booking/details)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/booking/details",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "booking",
          "details"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"booking_id\": \"AIOR196466\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Release the hold (POST /flights/booking/release)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/booking/release",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "booking",
          "release"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"booking_id\": \"AIOR196466\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 409. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "International, one way, 1 adult",
     "description": "International one way for 1 adult: search, reprice the cheapest fare, then the ancillaries and the seat map of the itinerary, book it on hold (no payment), read the booking details and release the hold. One search segment; one group, journey_indexes [0]; reprice takes one item.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"DXB\",\n      \"date\": \"2026-11-20\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"edecb614-6660-424e-b44b-4e4f19076120\",\n      \"price_id\": \"ae7740f4-e721-4ee5-83a4-b05607ca8a87\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Ancillaries (POST /flights/ancillaries)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/ancillaries",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "ancillaries"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"5f8653b7-cb14-4ee7-85a6-79cefdc324f2\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Seat map (POST /flights/seat-map)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/seat-map",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "seat-map"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"5f8653b7-cb14-4ee7-85a6-79cefdc324f2\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "International, one way, 1 adult, 1 child, 1 infant",
     "description": "International one way for 1 adult, 1 child, 1 infant: search, reprice the cheapest fare, then the ancillaries and the seat map of the itinerary, book it on hold (no payment), read the booking details and release the hold. One search segment; one group, journey_indexes [0]; reprice takes one item.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"DXB\",\n      \"date\": \"2026-11-20\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 1,\n  \"infant\": 1,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"ef82c5e9-dc85-41f9-937c-25dcf4d69b41\",\n      \"price_id\": \"7c8d686b-ac48-41f1-92dd-b1224d692512\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Ancillaries (POST /flights/ancillaries)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/ancillaries",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "ancillaries"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"44bd28df-3bbe-4f04-a0c2-cb6c58092166\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Seat map (POST /flights/seat-map)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/seat-map",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "seat-map"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"44bd28df-3bbe-4f04-a0c2-cb6c58092166\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "International, return, 1 adult",
     "description": "International return for 1 adult: search, reprice the cheapest fare, then the ancillaries and the seat map of the itinerary, book it on hold (no payment), read the booking details and release the hold. Two search segments. International return fares are combined: one group [0, 1]; reprice takes one item.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"DXB\",\n      \"date\": \"2026-11-20\"\n    },\n    {\n      \"from\": \"DXB\",\n      \"to\": \"DEL\",\n      \"date\": \"2026-11-25\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"000ab253-1380-47c4-97d9-884a3940cb11\",\n      \"price_id\": \"30a73c30-0d9f-4c79-973c-299eb91438f0\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Ancillaries (POST /flights/ancillaries)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/ancillaries",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "ancillaries"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"74ca02d6-a1b8-44f2-9d02-594c5729dfff\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Seat map (POST /flights/seat-map)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/seat-map",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "seat-map"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"74ca02d6-a1b8-44f2-9d02-594c5729dfff\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "International, return, 1 adult, 1 child, 1 infant",
     "description": "International return for 1 adult, 1 child, 1 infant: search, reprice the cheapest fare, then the ancillaries and the seat map of the itinerary, book it on hold (no payment), read the booking details and release the hold. Two search segments. International return fares are combined: one group [0, 1]; reprice takes one item.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"DXB\",\n      \"date\": \"2026-11-20\"\n    },\n    {\n      \"from\": \"DXB\",\n      \"to\": \"DEL\",\n      \"date\": \"2026-11-25\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 1,\n  \"infant\": 1,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"4d6f849d-897a-4874-ab46-03f1a3b0af0c\",\n      \"price_id\": \"110de393-5611-4489-b0df-dfe08128a1e9\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Ancillaries (POST /flights/ancillaries)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/ancillaries",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "ancillaries"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"e821e0aa-b666-4c4d-bbb5-636f7eb013a5\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Seat map (POST /flights/seat-map)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/seat-map",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "seat-map"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"e821e0aa-b666-4c4d-bbb5-636f7eb013a5\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Price changed at reprice",
     "description": "The fare went up or down between search and reprice: reprice answers 200 with messages[] (type, option_id, old_value, new_value). Show the new price to the traveller before booking. Captured whenever it happens in a run.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-20\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 1,\n  \"infant\": 1,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"16560204-43ef-4e6d-92d7-3c145126c052\",\n      \"price_id\": \"d2f877b1-3174-425a-9d67-1bf51fc04f48\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Fare attributes per flight (detail: segment)",
     "description": "detail: segment adds segments[] inside every fare option, with the cabin, booking class, fare basis, meal and baggage of each flight. Useful when varies_by_segment is true.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-19\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1,\n  \"detail\": \"segment\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"0cf2ee70-b51a-4e63-a4c4-cbca83270eb3\",\n      \"price_id\": \"c723a668-4534-4b39-9fe8-0fcb25f6d967\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Search without fare rules (include_fare_rules: false)",
     "description": "include_fare_rules: false leaves the fare_rules table out of the reply and off every fare: a smaller reply. Reprice still returns the final rules.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-19\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1,\n  \"include_fare_rules\": false\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"f162dc32-8b9d-4db4-ad17-365b5253e7f2\",\n      \"price_id\": \"488573ec-4966-4439-bf62-3dfd9e0fd0a7\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "One airline only (preferred_airlines)",
     "description": "preferred_airlines limits the reply to the airlines named (IATA codes).",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-19\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1,\n  \"preferred_airlines\": [\n    \"6E\"\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"fb24a386-a022-465c-a94e-94bd441b1650\",\n      \"price_id\": \"a9539734-2333-4b2e-9dc6-e86757e39b1d\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Business cabin (cabin_class: 3)",
     "description": "cabin_class 3 asks for business fares. The fare's cabin_class says what was found.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-19\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 3\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"ea748fd6-c182-4d07-bb5f-96ff6abcfa01\",\n      \"price_id\": \"df855794-c1e2-43af-a3b6-33869f226c8b\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Three flights in one journey",
     "description": "A long-haul journey with two connections: one option, three flights, segment_index 0, 1 and 2 inside journey 0.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"YYZ\",\n      \"date\": \"2026-11-19\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"a1095f13-202f-4861-9d5e-f14a84a888bc\",\n      \"price_id\": \"12d9cfd9-3769-4e41-8152-efe4f62d99d9\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Bags and meals on a low-cost airline",
     "description": "A direct low-cost flight: baggage per journey (journey_index) and meals per flight (journey_index and segment_index), each item with code, label and price.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-19\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"38b6fe61-593a-45f8-9a03-4e60ff2c1e20\",\n      \"price_id\": \"6f82ddce-f121-4547-bf7e-2aa2ffabb40c\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Ancillaries (POST /flights/ancillaries)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/ancillaries",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "ancillaries"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"b2827387-ad61-4519-b371-7b0acdba0c8c\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Seat map with paid and free seats",
     "description": "The seat map of one flight: every seat with its code, row, column, price (amount, 0 = free), availability and position (window, aisle, exit row).",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-19\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"38b6fe61-593a-45f8-9a03-4e60ff2c1e20\",\n      \"price_id\": \"6f82ddce-f121-4547-bf7e-2aa2ffabb40c\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Seat map (POST /flights/seat-map)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/seat-map",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "seat-map"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"b2827387-ad61-4519-b371-7b0acdba0c8c\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Book on hold, plain",
     "description": "Hold without GST details and without ancillaries: book with is_hold true, then the booking details with status ONHOLD and pay_till.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-19\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"3d7407a1-aae6-46c7-9990-d853ef97e90e\",\n      \"price_id\": \"d4c501aa-b90d-4601-87d6-333481cef940\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Book on hold (POST /flights/book)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/book",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "book"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"0304205f-51f6-4ff6-a2da-271571a08d83\",\n  \"is_hold\": true,\n  \"pax_details\": [\n    {\n      \"first_name\": \"Rohan\",\n      \"last_name\": \"Reddy\",\n      \"pax_type\": \"ADULT\",\n      \"title\": \"Mr\",\n      \"gender\": \"male\",\n      \"dob\": \"1990-05-12\",\n      \"phone\": \"9876543210\",\n      \"email\": \"rohan.verma@example.com\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Booking details (POST /flights/booking/details)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/booking/details",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "booking",
          "details"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"booking_id\": \"AIOR940777\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Book on hold with GST details",
     "description": "gst_details (name, number, address, email, mobile) put the company on the invoice; details return them.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-19\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"ca8fb6f0-ad34-436b-9241-9582510666d0\",\n      \"price_id\": \"cfb1ba3d-f8fa-4d05-860c-ad3729f9da92\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Book on hold (POST /flights/book)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/book",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "book"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"8586986e-77f8-4694-a558-e5031e7059e8\",\n  \"is_hold\": true,\n  \"pax_details\": [\n    {\n      \"first_name\": \"Rohan\",\n      \"last_name\": \"Rao\",\n      \"pax_type\": \"ADULT\",\n      \"title\": \"Mr\",\n      \"gender\": \"male\",\n      \"dob\": \"1990-05-12\",\n      \"phone\": \"9876543210\",\n      \"email\": \"rohan.verma@example.com\"\n    }\n  ],\n  \"gst_details\": {\n    \"name\": \"API Docs Test Company\",\n    \"number\": \"27AAPFU0939F1ZV\",\n    \"address\": \"1 Test Street, Mumbai 400001\",\n    \"email\": \"accounts@example.com\",\n    \"mobile\": \"9876543210\"\n  }\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Booking details (POST /flights/booking/details)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/booking/details",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "booking",
          "details"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"booking_id\": \"AIOR798181\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Book on hold with a seat, a meal and a bag, one flight",
     "description": "One passenger on a one-flight journey chooses a seat and a meal (journey_index and segment_index) and a bag (journey_index only). The booking details list them under the passenger.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-19\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"38b6fe61-593a-45f8-9a03-4e60ff2c1e20\",\n      \"price_id\": \"6f82ddce-f121-4547-bf7e-2aa2ffabb40c\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Ancillaries (POST /flights/ancillaries)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/ancillaries",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "ancillaries"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"b2827387-ad61-4519-b371-7b0acdba0c8c\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Seat map (POST /flights/seat-map)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/seat-map",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "seat-map"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"b2827387-ad61-4519-b371-7b0acdba0c8c\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Book on hold (POST /flights/book)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/book",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "book"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"b2827387-ad61-4519-b371-7b0acdba0c8c\",\n  \"is_hold\": true,\n  \"pax_details\": [\n    {\n      \"first_name\": \"Rohan\",\n      \"last_name\": \"Verma\",\n      \"pax_type\": \"ADULT\",\n      \"title\": \"Mr\",\n      \"gender\": \"male\",\n      \"dob\": \"1990-05-12\",\n      \"phone\": \"9876543210\",\n      \"email\": \"rohan.verma@example.com\",\n      \"ancillaries\": {\n        \"seat\": [\n          {\n            \"code\": \"RA201135873812800262011408863024KHDEVBB4ROG|9844\",\n            \"price\": 1700,\n            \"label\": \"1A\",\n            \"journey_index\": 0,\n            \"segment_index\": 0\n          }\n        ],\n        \"meal\": [\n          {\n            \"code\": \"9874\",\n            \"price\": 250,\n            \"label\": \"Shondesh Tiramisu\",\n            \"journey_index\": 0,\n            \"segment_index\": 0\n          }\n        ],\n        \"baggage\": [\n          {\n            \"code\": \"6654\",\n            \"price\": 3500,\n            \"label\": \"CABIN BAGGAGE 5KGS\",\n            \"journey_index\": 0\n          }\n        ]\n      }\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Booking details (POST /flights/booking/details)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/booking/details",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "booking",
          "details"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"booking_id\": \"AIOR546075\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Book on hold with ancillaries on a two-flight journey",
     "description": "Two adults on a connecting journey. The first takes a meal on the first flight only, a different seat on each flight and a bag for the whole journey; the second takes a meal on the second flight only. Shows per-flight (seat, meal) against per-journey (bag) selection.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-19\"\n    }\n  ],\n  \"adult\": 2,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"26227932-84e4-4a2c-9144-b8b5d23d059b\",\n      \"price_id\": \"0ddf2775-e0cb-4846-8b60-601f367e2eba\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Ancillaries (POST /flights/ancillaries)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/ancillaries",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "ancillaries"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"a826b391-bede-4eeb-ae76-36480741a231\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Seat map (POST /flights/seat-map)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/seat-map",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "seat-map"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"a826b391-bede-4eeb-ae76-36480741a231\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Book on hold (POST /flights/book)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/book",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "book"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"a826b391-bede-4eeb-ae76-36480741a231\",\n  \"is_hold\": true,\n  \"pax_details\": [\n    {\n      \"first_name\": \"Rohan\",\n      \"last_name\": \"Verma\",\n      \"pax_type\": \"ADULT\",\n      \"title\": \"Mr\",\n      \"gender\": \"male\",\n      \"dob\": \"1990-05-12\",\n      \"phone\": \"9876543210\",\n      \"email\": \"rohan.verma@example.com\",\n      \"ancillaries\": {\n        \"seat\": [\n          {\n            \"code\": \"RA201240180182653422012443244437JIBK7WNTNPF|2744\",\n            \"price\": 1700,\n            \"label\": \"1A\",\n            \"journey_index\": 0,\n            \"segment_index\": 0\n          },\n          {\n            \"code\": \"RA201240180182653422012443244437JIBK7WNTNPF|2930\",\n            \"price\": 1700,\n            \"label\": \"1A\",\n            \"journey_index\": 0,\n            \"segment_index\": 1\n          }\n        ],\n        \"meal\": [\n          {\n            \"code\": \"9898\",\n            \"price\": 250,\n            \"label\": \"Shondesh Tiramisu\",\n            \"journey_index\": 0,\n            \"segment_index\": 0\n          }\n        ],\n        \"baggage\": [\n          {\n            \"code\": \"8430\",\n            \"price\": 3500,\n            \"label\": \"CABIN BAGGAGE 5KGS\",\n            \"journey_index\": 0\n          }\n        ]\n      }\n    },\n    {\n      \"first_name\": \"Priya\",\n      \"last_name\": \"Verma\",\n      \"pax_type\": \"ADULT\",\n      \"title\": \"Mrs\",\n      \"gender\": \"female\",\n      \"dob\": \"1992-08-23\",\n      \"phone\": \"9876543210\",\n      \"email\": \"rohan.verma@example.com\",\n      \"ancillaries\": {\n        \"meal\": [\n          {\n            \"code\": \"9910\",\n            \"price\": 600,\n            \"label\": \"Paneer Makhani with Jeera Aloo  Vegetable Pulao\",\n            \"journey_index\": 0,\n            \"segment_index\": 1\n          }\n        ]\n      }\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Booking details (POST /flights/booking/details)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/booking/details",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "booking",
          "details"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"booking_id\": \"AIOR142929\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Direct booking (paid, no hold), plain",
     "description": "Booked directly, without a hold: book with is_hold false, the amount is taken from the agent's balance or credit at once and the booking is ticketed. There is nothing to confirm or release. Details show the PNR and the ticket per passenger and journey.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-19\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"cd95720c-c4a4-4c61-ba57-82395b943a45\",\n      \"price_id\": \"4b896bcf-bf85-44e7-80db-3e04e49d330c\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Book directly (paid) (POST /flights/book)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/book",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "book"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"b252c77a-f011-45c4-8a89-784e07147169\",\n  \"is_hold\": false,\n  \"pax_details\": [\n    {\n      \"first_name\": \"Rohan\",\n      \"last_name\": \"Iyer\",\n      \"pax_type\": \"ADULT\",\n      \"title\": \"Mr\",\n      \"gender\": \"male\",\n      \"dob\": \"1990-05-12\",\n      \"phone\": \"9876543210\",\n      \"email\": \"rohan.verma@example.com\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Booking details (POST /flights/booking/details)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/booking/details",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "booking",
          "details"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"booking_id\": \"AIOR883281\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Direct booking (paid, no hold) with GST details",
     "description": "As the plain direct booking (paid, no hold), with gst_details for the company invoice.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-19\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"7f32397d-28a6-43f6-a933-3d52d94c58f1\",\n      \"price_id\": \"75700de3-394e-42b3-9280-226ff37a4a58\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Book directly (paid) (POST /flights/book)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/book",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "book"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"9b5b5224-f875-4248-b07b-1a917c230090\",\n  \"is_hold\": false,\n  \"pax_details\": [\n    {\n      \"first_name\": \"Rohan\",\n      \"last_name\": \"Rao\",\n      \"pax_type\": \"ADULT\",\n      \"title\": \"Mr\",\n      \"gender\": \"male\",\n      \"dob\": \"1990-05-12\",\n      \"phone\": \"9876543210\",\n      \"email\": \"rohan.verma@example.com\"\n    }\n  ],\n  \"gst_details\": {\n    \"name\": \"API Docs Test Company\",\n    \"number\": \"27AAPFU0939F1ZV\",\n    \"address\": \"1 Test Street, Mumbai 400001\",\n    \"email\": \"accounts@example.com\",\n    \"mobile\": \"9876543210\"\n  }\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Booking details (POST /flights/booking/details)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/booking/details",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "booking",
          "details"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"booking_id\": \"AIOR875681\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Direct booking (paid, no hold) with a seat, a meal and a bag, one flight",
     "description": "As the hold case on one flight, but booked directly: paid and ticketed at once, no hold.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-19\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"9063f430-d53f-4336-88b9-777e612d9d1e\",\n      \"price_id\": \"27199b02-6181-475e-a00c-cd96fcb106bd\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Ancillaries (POST /flights/ancillaries)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/ancillaries",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "ancillaries"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"bcd839a5-875c-472f-bce2-a4612be643ae\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Seat map (POST /flights/seat-map)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/seat-map",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "seat-map"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"bcd839a5-875c-472f-bce2-a4612be643ae\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Book directly (paid) (POST /flights/book)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/book",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "book"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"bcd839a5-875c-472f-bce2-a4612be643ae\",\n  \"is_hold\": false,\n  \"pax_details\": [\n    {\n      \"first_name\": \"Rohan\",\n      \"last_name\": \"Menon\",\n      \"pax_type\": \"ADULT\",\n      \"title\": \"Mr\",\n      \"gender\": \"male\",\n      \"dob\": \"1990-05-12\",\n      \"phone\": \"9876543210\",\n      \"email\": \"rohan.verma@example.com\",\n      \"ancillaries\": {\n        \"seat\": [\n          {\n            \"code\": \"WINDOW\",\n            \"price\": 1700,\n            \"label\": \"3A\",\n            \"journey_index\": 0,\n            \"segment_index\": 0\n          }\n        ],\n        \"meal\": [\n          {\n            \"code\": \"VSDB\",\n            \"price\": 250,\n            \"label\": \"Shondesh Tiramisu\",\n            \"journey_index\": 0,\n            \"segment_index\": 0\n          }\n        ],\n        \"baggage\": [\n          {\n            \"code\": \"PBCB\",\n            \"price\": 3500,\n            \"label\": \"+ 5Kgs Xtra-Carry-On\",\n            \"journey_index\": 0\n          }\n        ]\n      }\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Booking details (POST /flights/booking/details)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/booking/details",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "booking",
          "details"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"booking_id\": \"AIOR583804\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Direct booking (paid, no hold) with ancillaries on a two-flight journey",
     "description": "As the hold case on a two-flight journey, but booked directly: paid and ticketed at once, no hold.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-19\"\n    }\n  ],\n  \"adult\": 2,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"67155160-9e15-42ec-b748-408412542fb8\",\n      \"price_id\": \"fe2482ad-2eab-41ab-baec-c48d56d34e31\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Ancillaries (POST /flights/ancillaries)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/ancillaries",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "ancillaries"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"2be18fc8-bbd2-466c-a216-13314c9965f6\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Seat map (POST /flights/seat-map)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/seat-map",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "seat-map"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"2be18fc8-bbd2-466c-a216-13314c9965f6\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Book directly (paid) (POST /flights/book)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/book",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "book"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"2be18fc8-bbd2-466c-a216-13314c9965f6\",\n  \"is_hold\": false,\n  \"pax_details\": [\n    {\n      \"first_name\": \"Rohan\",\n      \"last_name\": \"Kulkarni\",\n      \"pax_type\": \"ADULT\",\n      \"title\": \"Mr\",\n      \"gender\": \"male\",\n      \"dob\": \"1990-05-12\",\n      \"phone\": \"9876543210\",\n      \"email\": \"rohan.verma@example.com\",\n      \"ancillaries\": {\n        \"seat\": [\n          {\n            \"code\": \"WINDOW\",\n            \"price\": 1700,\n            \"label\": \"3A\",\n            \"journey_index\": 0,\n            \"segment_index\": 0\n          },\n          {\n            \"code\": \"WINDOW\",\n            \"price\": 1700,\n            \"label\": \"1A\",\n            \"journey_index\": 0,\n            \"segment_index\": 1\n          }\n        ],\n        \"meal\": [\n          {\n            \"code\": \"VSDB\",\n            \"price\": 250,\n            \"label\": \"Shondesh Tiramisu\",\n            \"journey_index\": 0,\n            \"segment_index\": 0\n          }\n        ],\n        \"baggage\": [\n          {\n            \"code\": \"PBCB\",\n            \"price\": 3500,\n            \"label\": \"+ 5Kgs Xtra-Carry-On\",\n            \"journey_index\": 0\n          }\n        ]\n      }\n    },\n    {\n      \"first_name\": \"Priya\",\n      \"last_name\": \"Kulkarni\",\n      \"pax_type\": \"ADULT\",\n      \"title\": \"Mrs\",\n      \"gender\": \"female\",\n      \"dob\": \"1992-08-23\",\n      \"phone\": \"9876543210\",\n      \"email\": \"rohan.verma@example.com\",\n      \"ancillaries\": {\n        \"meal\": [\n          {\n            \"code\": \"VQSB\",\n            \"price\": 400,\n            \"label\": \"Quinoa Salad\",\n            \"journey_index\": 0,\n            \"segment_index\": 1\n          }\n        ]\n      }\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Booking details (POST /flights/booking/details)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/booking/details",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "booking",
          "details"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"booking_id\": \"AIOR366189\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Hold, then confirm (pay) the hold",
     "description": "Book on hold, then confirm-hold before pay_till: the amount is taken and the booking is ticketed. Details after.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-19\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"1b2c3335-7310-4668-bb96-2d62fa4efd1e\",\n      \"price_id\": \"f97ac77e-d0af-4f10-9bd7-8f2caf3d0c38\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Book on hold (POST /flights/book)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/book",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "book"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"6aa4c3e1-6d99-41bf-8adc-2b50b7848890\",\n  \"is_hold\": true,\n  \"pax_details\": [\n    {\n      \"first_name\": \"Rohan\",\n      \"last_name\": \"Trivedi\",\n      \"pax_type\": \"ADULT\",\n      \"title\": \"Mr\",\n      \"gender\": \"male\",\n      \"dob\": \"1990-05-12\",\n      \"phone\": \"9876543210\",\n      \"email\": \"rohan.verma@example.com\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Confirm the hold (POST /flights/booking/confirm-hold)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/booking/confirm-hold",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "booking",
          "confirm-hold"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"booking_id\": \"AIOR669440\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Booking details (POST /flights/booking/details)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/booking/details",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "booking",
          "details"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"booking_id\": \"AIOR669440\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Hold, then release the hold",
     "description": "Book on hold, then release: the airline frees the seats and the booking becomes PNR_RELEASED. Details after.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-19\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"d155717c-6060-4823-a942-6fe6dfac7087\",\n      \"price_id\": \"a0425fd8-30a4-48ca-aa82-b01131f2e7ff\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Book on hold (POST /flights/book)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/book",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "book"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"eb27329c-5666-49e8-aad2-39e112499227\",\n  \"is_hold\": true,\n  \"pax_details\": [\n    {\n      \"first_name\": \"Rohan\",\n      \"last_name\": \"Verma\",\n      \"pax_type\": \"ADULT\",\n      \"title\": \"Mr\",\n      \"gender\": \"male\",\n      \"dob\": \"1990-05-12\",\n      \"phone\": \"9876543210\",\n      \"email\": \"rohan.verma@example.com\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Release the hold (POST /flights/booking/release)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/booking/release",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "booking",
          "release"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"booking_id\": \"AIOR987370\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Booking details (POST /flights/booking/details)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/booking/details",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "booking",
          "details"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"booking_id\": \"AIOR987370\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Wrong API key",
     "description": "generate-token with a key that does not exist answers 401; nothing else can be called.",
     "item": [
      {
       "name": "Generate token (POST /generate-token)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/generate-token",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "generate-token"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"api_key\": \"<redacted>\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 401. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Revoked API key",
     "description": "A key revoked by the agent (or by AirIQ) answers 401 at generate-token at once.",
     "item": [
      {
       "name": "Generate token (POST /generate-token)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/generate-token",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "generate-token"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"api_key\": \"<redacted>\"\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 401. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "A login token instead of an API token",
     "description": "The customer API takes only tokens made by generate-token. A token from the website login answers 401.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-19\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 401. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Reprice after the search expired",
     "description": "option_id and price_id are good until the search's valid_till. After it reprice refuses them: search again.",
     "item": [
      {
       "name": "Search (POST /flights/search)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/search",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "search"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"segments\": [\n    {\n      \"from\": \"DEL\",\n      \"to\": \"BOM\",\n      \"date\": \"2026-11-19\"\n    }\n  ],\n  \"adult\": 1,\n  \"child\": 0,\n  \"infant\": 0,\n  \"cabin_class\": 1\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 200. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      },
      {
       "name": "Reprice (POST /flights/reprice)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/reprice",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "reprice"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"items\": [\n    {\n      \"option_id\": \"bbc742b1-36fa-46cb-a7b1-1c6125621c59\",\n      \"price_id\": \"0126199f-6e11-486e-be35-dd1d6657312c\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 404. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    },
    {
     "name": "Book after the itinerary expired",
     "description": "An itinerary_id is good until the reprice reply's valid_till. After it book refuses it: reprice again.",
     "item": [
      {
       "name": "Book on hold (POST /flights/book)",
       "request": {
        "method": "POST",
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Authorization",
          "value": "Bearer {{token}}"
         }
        ],
        "url": {
         "raw": "{{base_url}}/flights/book",
         "host": [
          "{{base_url}}"
         ],
         "path": [
          "flights",
          "book"
         ]
        },
        "body": {
         "mode": "raw",
         "raw": "{\n  \"itinerary_id\": \"233264f3-dcf4-4a75-abaa-8e984592e324\",\n  \"is_hold\": true,\n  \"pax_details\": [\n    {\n      \"first_name\": \"Rohan\",\n      \"last_name\": \"Verma\",\n      \"pax_type\": \"ADULT\",\n      \"title\": \"Mr\",\n      \"gender\": \"male\",\n      \"dob\": \"1990-05-12\",\n      \"phone\": \"9876543210\",\n      \"email\": \"rohan.verma@example.com\"\n    }\n  ]\n}",
         "options": {
          "raw": {
           "language": "json"
          }
         }
        },
        "description": "Captured ; answered HTTP 410. Ids in this body belong to that capture: run the Flow folder for live ids."
       }
      }
     ]
    }
   ]
  }
 ]
}
