Flight APIS
Fare Rules

Fare Rules API

POST

Endpoint:[BaseUrl]/flight-farerules

Overview

The Fare Rules API provides detailed fare conditions and restrictions for a selected flight itinerary.

Request
{
  "ItemCodeRef": "TloyMzQ3OTIxMzc0NjEyMjMzLTYzODY2NzczNTA4NjAzMjEyMnx...",
  "SegmentCodeRefs": [
    "WXJyNjNMVnFXREtBTnhvU1BBQUFBQT09..."
  ],
  "UniqueTransID": "NZ2347921374612233"
}
Response
{
  "flag": true,
  "code": 200,
  "message": "success",
  "data": {
    "FareRuleDetails": [
      {
        "Type": "ADV RES/TKTG",
        "FareRuleDetail": "UNLESS OTHERWISE SPECIFIED\nRESERVATIONS ARE REQUIRED FOR ALL SECTORS."
      },
      {
        "Type": "Max Stay",
        "FareRuleDetail": "FOR U- TYPE FARES\nTRAVEL FROM LAST STOPOVER MUST COMMENCE NO LATER THAN 3\nMONTHS AFTER DEPARTURE FROM FARE ORIGIN."
      },
      {
        "Type": "StopOvers",
        "FareRuleDetail": "UNLESS OTHERWISE SPECIFIED\nUNLIMITED STOPOVERS PERMITTED ON THE PRICING UNIT\nLIMITED TO 1 FREE AND UNLIMITED AT MYR 140.00 EACH."
      }
    ],
    "UniqueTransID": null,
    "ItemCodeRef": null,
    "Currency": "BDT"
  }
}

Note: Fare rules should be checked before proceeding with booking to ensure compliance with all conditions.