API reference
/Company
/- Store tier levels with labels
Create company
List companies
Get company
Update company
Delete company
Get designation list
Get company features
Update Company Features
Get company travel content config
Update company travel content config
Delete company travel content config
Updates white label config
Get white label config
Delete white label config
Updates company managers config
Get company managers config
Delete company managers config
Updates Color config
Get color config
Upload company vendor preferences csv file
Read company preference tiers
Get company support config
Store tier levels with la...
This endpoint store the tiers with respective label for a company.
Security
Bearer
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v2/companies/{companyId}/preference-tiers
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/companyapi/v2/companies/{companyId}/preference-tiers
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
}
]
}
]
}'