Skip to content

Store tier levels with labels

Request

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

Security
Bearer
Path
companyIdstring, (uuid)required

Identifier for company.

Example:4974a66b-7493-4f41-908c-58ba81093947
Bodyapplication/jsonrequired
preferenceTiersPerBookingTypeArray of objects(PreferenceTiersPerBookingType)required

List of preference tiers with respective labels for different booking types.

curl -i -X PUT \
  https://api-ext-sboxmeta.partners.spotnana.com/v2/companies/4974a66b-7493-4f41-908c-58ba81093947/preference-tiers \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "preferenceTiersPerBookingType": [
      {
        "allowedEntityTypes": [
          "COMPANY"
        ],
        "bookingType": "AIR",
        "preferenceTiers": [
          {
            "level": "TIER_1",
            "label": "string",
            "description": "string",
            "showLabel": false
          }
        ]
      }
    ]
  }'

Responses

OK

Response
No content