# [Beta] Brand Amenities

***Attention***
>Please note that this feature is in **Beta** and has not been officially released yet.

## Enable the feature

This feature can be enabled in the API request by including:

```json
"control": {
  "includes": ["amenity"],
  "features": ["brand_amenities"]
}
```

## Overview

The **Brand Amenities** feature returns the amenities of the fare brand a traveler is buying, not only the cabin-wide defaults.

Fare brands in the same cabin can include different products, for example a seat with more legroom, free Wi-Fi or a meal. When the feature is enabled, each segment's `amenity` object reflects the amenities of that segment's brand.

## Where brand amenities appear

Brand amenities are returned in the existing segment `amenity` object:

`itineraries[].data.legs[].fares[].segments[].amenity`

- No new fields are added. Each ID resolves to an entry in the top-level `amenity` catalog.
- When brand-level amenities exist for the flight, date, cabin and brand, the IDs reflect that brand.
- Otherwise the cabin-level amenities are returned, as without the feature.

## How the brand is identified

Send the fare basis code (`fbc`) on each segment. The brand is identified from the airline's branded fares.

Each segment uses its own brand, so segments of a multi-segment or round-trip itinerary can return different amenities.

## Example request

```json
{
  "control": {
    "includes": ["amenity"],
    "features": ["brand_amenities"]
  },
  "data": {
    "itineraries": [
      {
        "src": "1A",
        "segments": [
          { "dep": "AAA", "arr": "BBB", "cxr": "XX", "fltno": 1234, "date": "2027-01-01", "cabin": 1, "fbc": "SABC1XYZ", "rbd": "S" }
        ]
      }
    ]
  }
}
```

## Example response

For the brand of fare `SABC1XYZ`, the segment returns seat `821` (98 cm seat pitch). Without the feature, the cabin seat `3` (79 cm seat pitch) is returned.

```json
"fares": [
  {
    "segments": [
      {
        "amenity": {
          "aircraft": "14",
          "beverage": "5",
          "entertainment": "20",
          "fresh_food": "57",
          "layout": "28",
          "power": "6",
          "seat": "821",
          "wifi": "657"
        },
        "id": "AAA-BBB-XX-1234-20270101-ECON"
      }
    ]
  }
]
```

Seat `821` in the top-level `amenity` catalog:

```json
{
  "display_text": "98 cm seat pitch",
  "id": "821",
  "legroom": "more",
  "pitch": "38",
  "type": "above average legroom"
}
```

## Notes

- This feature changes only which IDs are returned in the segment `amenity` object.
- Brand amenities are returned only where brand-level data exists; otherwise cabin amenities are returned.
- Cannot be combined with `seat_characteristics_amenities` in the same request (HTTP 400).
