> For the complete documentation index, see [llms.txt](https://developer.acquire.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.acquire.io/rest-apis/settings/account-settings/custom-attributes/update-a-custom-attribute.md).

# Update a custom attribute

## Update Custom Attribute

<mark style="color:orange;">`PUT`</mark> `https://{{account_id}}.acquire.io/api/v1/crm/objects/object-field/{{custom_attributeId}}`

Update a custom attribute. The **custom\_attributeId** must be passed in to the endpoint as a path parameter. An object must be passed in to the body of the request.

#### Path Parameters

| Name                | Type    | Description                |
| ------------------- | ------- | -------------------------- |
| custom\_attributeId | integer | The ID of custom attribute |

#### Headers

| Name          | Type   | Description         |
| ------------- | ------ | ------------------- |
| Authorization | string | Bearer {{api\_key}} |

#### Request Body

| Name   | Type   | Description |
| ------ | ------ | ----------- |
| object | string | Body object |

{% tabs %}
{% tab title="200 " %}

```
{
  "data": {
    "id": 33,
    "object": "string",
    "key": "hello",
    "type": "text",
    "config": {},
    "system": "string"
  }
}
```

{% endtab %}
{% endtabs %}

## Body(raw)

```
{
  "data": {
    "id": 33,
    "object": "string",
    "key": "loyalty_number",
    "type": "text",
    "config": {},
    "system": "string"
  }
}
```
