# Companies

APIs to onboard and manage company.

 - [POST /v2/companies](https://developer.spotnana.com/openapi/companyapi/companies/createcompany.md): This endpoint creates a company. This is allowed only by TMC_ADMIN and above roles.
 - [GET /v2/companies](https://developer.spotnana.com/openapi/companyapi/companies/listcompanies.md): This endpoint lists companies. If externalId is provided in query param, only the company having the specified external ID is returned.
 - [GET /v2/companies/{companyId}](https://developer.spotnana.com/openapi/companyapi/companies/readcompany.md): This endpoint gets a company by ID.
 - [PUT /v2/companies/{companyId}](https://developer.spotnana.com/openapi/companyapi/companies/updatecompany.md): This endpoint updates a company by ID.
 - [DELETE /v2/companies/{companyId}](https://developer.spotnana.com/openapi/companyapi/companies/deletecompany.md): This endpoint deletes a company by ID.
 - [GET /v2/companies/{companyId}/features](https://developer.spotnana.com/openapi/companyapi/companies/getcompanyfeatures.md)
 - [PATCH /v2/companies/{companyId}/features](https://developer.spotnana.com/openapi/companyapi/companies/updatecompanyfeaturespatch.md)
 - [GET /v2/companies/{companyId}/travel-content-config](https://developer.spotnana.com/openapi/companyapi/companies/getcompanytravelcontentconfig.md)
 - [PUT /v2/companies/{companyId}/travel-content-config](https://developer.spotnana.com/openapi/companyapi/companies/updatecompanytravelcontentconfig.md)
 - [DELETE /v2/companies/{companyId}/travel-content-config](https://developer.spotnana.com/openapi/companyapi/companies/deletecompanytravelcontentconfig.md)
 - [PUT /v2/companies/{companyId}/white-label-config](https://developer.spotnana.com/openapi/companyapi/companies/updatecompanywhitelabelconfig.md): This endpoint stores white label config for the company at different entity levels.
 - [GET /v2/companies/{companyId}/white-label-config](https://developer.spotnana.com/openapi/companyapi/companies/getcompanywhitelabelconfig.md): This endpoint fetches the white label config for the company.
 - [DELETE /v2/companies/{companyId}/white-label-config](https://developer.spotnana.com/openapi/companyapi/companies/deletecompanywhitelabelconfig.md): This endpoint deletes the white label config for the company.
 - [PUT /v2/companies/{companyId}/managers-config](https://developer.spotnana.com/openapi/companyapi/companies/updatecompanymanagersconfig.md): This endpoint stores company managers config (account managers and customer success managers) for the company at different entity levels.
 - [GET /v2/companies/{companyId}/managers-config](https://developer.spotnana.com/openapi/companyapi/companies/getcompanymanagersconfig.md): This endpoint fetches the company managers config for the company.
 - [DELETE /v2/companies/{companyId}/managers-config](https://developer.spotnana.com/openapi/companyapi/companies/deletecompanymanagersconfig.md): This endpoint deletes the company managers config for the company.
 - [PUT /v2/companies/{companyId}/color-config](https://developer.spotnana.com/openapi/companyapi/companies/updatecolorconfig.md): This endpoint stores Color config for the company at some entity level.
 - [GET /v2/companies/{companyId}/color-config](https://developer.spotnana.com/openapi/companyapi/companies/getcolorconfig.md): This endpoint fetches the color config for the given entity.
 - [POST /v2/companies/{companyId}/vendor-preferences](https://developer.spotnana.com/openapi/companyapi/companies/uploadcompanypreferences.md)
 - [PUT /v2/companies/{companyId}/preference-tiers](https://developer.spotnana.com/openapi/companyapi/companies/storepreferencetiers.md): This endpoint store the tiers with respective label for a company.
 - [GET /v2/companies/{companyId}/preference-tiers](https://developer.spotnana.com/openapi/companyapi/companies/listpreferencetiers.md): Read all preference tiers with respective label for a company.
 - [GET /v2/companies/{companyId}/support-config](https://developer.spotnana.com/openapi/companyapi/companies/getcompanysupportconfig.md)
