---
title: "Store tier levels with labels"
method: PUT
path: "/v2/companies/{companyId}/preference-tiers"
tags: ["Companies"]
---

# Store tier levels with labels

`PUT /v2/companies/{companyId}/preference-tiers`

## Request

- Base URL: `https://api-ext-sboxmeta.partners.spotnana.com`
- URL: `https://api-ext-sboxmeta.partners.spotnana.com/v2/companies/{companyId}/preference-tiers`
- Auth: HTTP bearer

This endpoint store the tiers with respective label for a company.

## Request body

- StorePreferenceTiersRequest: Request object to store preference tiers.
  - `preferenceTiersPerBookingType` PreferenceTiersPerBookingType[], required: List of preference tiers with respective labels for different booking types.
    - `allowedEntityTypes` PreferenceEntityType[], required: Different entity types that are allowed for defining preference.
    - `bookingType` 'AIR' | 'HOTEL' | 'CAR' | 'RAIL' | 'LIMO', required: What type of travel booking it is.
    - `preferenceTiers` PreferenceTier[], required: List of preference tiers with respective labels.
      - `level` 'TIER_1' | 'TIER_2' | 'TIER_3' | 'TIER_4' | 'TIER_5' | 'TIER_6', required: Different levels of tier.
      - `label` string, required: Text to be used to display given tier.
      - `description` string: Short description about the tier level.
      - `showLabel` boolean, required: Whether to show label in search result for the given tier.

## Response `200`

OK

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: The specified resource was not found.

---

[API](https://skmtc.dev/spotnana/apis/company-api.md) - [All operations](https://skmtc.dev/spotnana/apis/company-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spotnana/apis/company-api/revisions/184a1b415751?raw)
