---
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}`

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.net/quable/apis/quable-pim-api-documentation-v5.md) · [All operations](https://skmtc.net/quable/apis/quable-pim-api-documentation-v5/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quable/quable-pim-api-documentation-v5/versions/1641096abb34/schema)
