Baggage Info

  • This API return the ancillary availability for bags in the flight along with the price.

Ancillaries API should be executed once the mentioned below APIs are executed in order:

  1. Authentication
  2. Retrieve Fare
  3. Add to Cart

URL: https://devapi.flydubai.com/res/v3/offers/bags

Method: POST

Headers:

      • Content-Type                    : application/json
      • Authorization                    : bearer<space> JWTToken

Body:

{
  "AncillaryPricingRequest": {
    "GUID": "",
    "saleInfo": {
      "POS": "AE",
      "currency": "AED",
      "channel": "OTA",
      "IATA": "86270505"
    },
    "paxDetails": [
      {
        "paxID": "1",
        "PTC": "ADT",
        "dob": "",
        "customerID": 112345,
        "tier": 112345
      }
    ],
    "journey": {
      "originDestination": [
        {
          "lfID": 11081599,
          "origin": "DXB",
          "dest": "KWI",
          "depDateTime": "2019-02-11T15:55:00",
          "legDetails": {
            "legDetail": [
              {
                "flightID": 11081599,
                "board": "DXB",
                "off": "KWI",
                "depDateTime": "2019-02-11T15:55:00",
                "aircraftType": "73H",
                "marketingFlt": {
                  "carrier": "FZ",
                  "fltNum": "051"
                },
                "operatingFlt": {
                  "carrier": "FZ",
                  "fltNum": "051"
                }
              }
            ]
          },
          "paxFareDetails": [
            {
              "fareClass": "K",
              "FBC": "KO6AE2",
              "pax": [
                1
              ],
              "baseFareAmt": "190",
              "fareBrand": "LITE",
              "cabin": "Economy"
            }
          ]
        }
      ]
    }
  }
}

 

Response:

{
    "ServiceOffers": [
        {
            "offerID": 1,
            "offerCode": "BAGL",
            "amountActive": true,
            "description": "30 kg Baggage Allowance",
            "ruleId": "FLXID:BAGL_GLOBAL:",
            "currency": "AED",
            "amount": "80.00",
            "totalAmount": "80.00",
            "paxIDs": [
                1
            ],
            "groupedFltIDs": [
                "11081599"
            ],
            "fees": [],
            "taxes": [],
            "quantityAvailable": 0,
            "hashCode": "gnznCsGwK7bkdF+ksOsqDA==",
            "cabin": "ALL"
        },
        {
            "offerID": 2,
            "offerCode": "BAGX",
            "amountActive": true,
            "description": "40  kg Baggage Allowance",
            "ruleId": "FLXID:BAGX_GLOBAL:",
            "currency": "AED",
            "amount": "170.00",
            "totalAmount": "170.00",
            "paxIDs": [
                1
            ],
            "groupedFltIDs": [
                "11081599"
            ],
            "fees": [],
            "taxes": [],
            "quantityAvailable": 0,
            "hashCode": "D+Sb/TNn3rqPX0oRw1820Q==",
            "cabin": "ALL"
        },
        {
            "offerID": 3,
            "offerCode": "BUPL",
            "amountActive": true,
            "description": "10 kg Baggage Upgrade",
            "ruleId": "FLXID:BUPL_GLOBAL:",
            "currency": "AED",
            "amount": "100.00",
            "totalAmount": "100.00",
            "paxIDs": [
                1
            ],
            "groupedFltIDs": [
                "11081599"
            ],
            "fees": [],
            "taxes": [],
            "quantityAvailable": 0,
            "hashCode": "d1e8/UHlDuxg3URxurUayw==",
            "cabin": "ALL"
        },
        {
            "offerID": 4,
            "offerCode": "BUPX",
            "amountActive": true,
            "description": "20 kg Baggage Upgrade",
            "ruleId": "FLXID:BUPX_GLOBAL:",
            "currency": "AED",
            "amount": "180.00",
            "totalAmount": "180.00",
            "paxIDs": [
                1
            ],
            "groupedFltIDs": [
                "11081599"
            ],
            "fees": [],
            "taxes": [],
            "quantityAvailable": 0,
            "hashCode": "v17LS8btNM381oIrKz912Q==",
            "cabin": "ALL"
        },
        {
            "offerID": 5,
            "offerCode": "BUPZ",
            "amountActive": true,
            "description": "10 kg Baggage Upgrade",
            "ruleId": "FLXID:BUPZ_GLOBAL:",
            "currency": "AED",
            "amount": "180.00",
            "totalAmount": "180.00",
            "paxIDs": [
                1
            ],
            "groupedFltIDs": [
                "11081599"
            ],
            "fees": [],
            "taxes": [],
            "quantityAvailable": 0,
            "hashCode": "gfXPqgYbB5Si/8JKw0Dqww==",
            "cabin": "ALL"
        },
        {
            "offerID": 6,
            "offerCode": "BAGB",
            "amountActive": true,
            "description": "20 kg Baggage Allowance",
            "ruleId": "FLXID:BAGB_Holiday:",
            "currency": "AED",
            "amount": "12.00",
            "totalAmount": "12.00",
            "paxIDs": [
                1
            ],
            "groupedFltIDs": [
                "11081599"
            ],
            "fees": [],
            "taxes": [],
            "quantityAvailable": 0,
            "hashCode": "ev09I8QaQzKcs+y3Vh/UhA==",
            "cabin": "ALL"
        }
    ],
    "TransactionStatus": [
        {
            "code": 201,
            "description": "SUCCESS"
        }
    ]
}