---
title: "PUT /attribute_sets/code/{code}"
method: PUT
path: "/attribute_sets/code/{code}"
tags: ["Data Model"]
---

# PUT /attribute_sets/code/{code}

`PUT /attribute_sets/code/{code}`

## Request

- Base URL: `https://instance_name.quable.com/api_1.php`
- URL: `https://instance_name.quable.com/api_1.php/attribute_sets/code/{code}`
- Auth: none declared

Update an attribute set and add attributes to this attribute set

## Path parameters

- `code` string, required

## Request body

- AttributeSetConfig
  - `name` string: Attribute Set label in the current l10n locale
  - `description` string: Attribute Set description in the current l10n locale
  - `fields` string[]: Attribute codes to add in the Attribute Set

## Response `200`

Attribute set have been updated

- object
  - `success` boolean, required
  - `id` integer, required

## Other responses

- `404`: Attribute set or attribute not found

---

[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)
