---
title: "PUT /eav-attributes/{id}"
method: PUT
path: "/eav-attributes/{id}"
tags: ["Data Model"]
---

# PUT /eav-attributes/{id}

`PUT /eav-attributes/{id}`

## Request

- Base URL: `https://instance_name.quable.com/api_1.php`
- URL: `https://instance_name.quable.com/api_1.php/eav-attributes/{id}`
- Auth: none declared

Update an Attribute.

## Path parameters

- `id` string, required

## Query parameters

- `l10nLocale` string

## Request body

- AttributeEdit
  - `name` string
  - `id` integer, required: Attribute internal ID
  - `eav_attribute_group_id` integer
  - `description` string
  - `help_text` string
  - `attribute_sets` integer[]: List of attribute set ids the attribute should be associate to
  - `text_size` integer
  - `decimal_digit_after` integer
  - `document_type_metadata` boolean
  - `mandatory` boolean
  - `filterable` boolean
  - `internal_view` boolean
  - `internal_edit` boolean

## Response `200`

Attribute updated

- object
  - `success` boolean, required
  - `data` object, required
    - `id` integer
    - `msg` string
    - `code` string

---

[API](https://skmtc.dev/quable/apis/quable-pim-dam-api-v4.md) - [All operations](https://skmtc.dev/quable/apis/quable-pim-dam-api-v4/llms.txt) - [OpenAPI document](https://skmtc.dev/quable/apis/quable-pim-dam-api-v4/revisions/3d11b340c0f2?raw)
