---
title: "Assign Company Attributes to Location"
method: POST
path: "/v2/locations/{id}/company_attributes"
tags: ["Locations and Location Groups"]
---

# Assign Company Attributes to Location

`POST /v2/locations/{id}/company_attributes`

## Request

- Base URL: `https://api.fountain.com`
- URL: `https://api.fountain.com/v2/locations/{id}/company_attributes`
- Auth: API key in header `X-ACCESS-TOKEN`

Assign or remove Company Attributes for a Location

## Path parameters

- `id` string, required

## Request body

- EntityCompanyAttributesParams
  - `add` object[]
    - `attribute_type` string, required
    - `attribute_value` string, required
  - `remove` string[]

## Response `200`

OK

- SingleValueCompanyAttribute[]
  - `id` integer, required
  - `type` string, required
  - `value_type` string, required
  - `attribute_value` object, required
    - `id` integer, required
    - `value` string, required
    - `value_type` string, required

## Other responses

- `400`: Bad Request - invalid attribute value type
- `401`: Unauthorized

---

[API](https://skmtc.dev/fountain/apis/hire-public-api.md) - [All operations](https://skmtc.dev/fountain/apis/hire-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fountain/apis/hire-public-api/revisions/3119e105004c?raw)
