---
title: "Update a single resource - AttributeSet"
method: PUT
path: "/attribute-sets/{id}"
tags: ["Data Model"]
---

# Update a single resource - AttributeSet

`PUT /attribute-sets/{id}`

Replaces the AttributeSet resource.

## Path parameters

- `id` string, required

## Request body

- AttributeSetEdit
  - `attributes` object — This is an array of attribute items.
    - `id` string — This is the unique identifier of the attribute that the resource should be apply to
    - `position` integer — Position used to sort attributes.
  - `description` LanguageTranslation — This structure does accept key & values where key has to be a language code configured in your PIM & the value is the value for this field in this language.
    - `fr-FR` string
    - `en-US` string
  - `name` LanguageTranslation, required — This structure does accept key & values where key has to be a language code configured in your PIM & the value is the value for this field in this language.
    - `fr-FR` string
    - `en-US` string

## Response `200`

AttributeSet resource updated

- AttributeSetAttributeSetOutputRead
  - `attributes` object — This is an array of attribute items.
    - `id` string — This is the unique identifier of the attribute that the resource should be apply to
    - `position` integer — Position used to sort attributes.
  - `legacyId` integer
  - `id` string, required — This is the unique identifier of the resource
  - `documentTypeCode` string, required — This is the unique identifier of the document type that the resource should be apply to
  - `description` LanguageTranslation — This structure does accept key & values where key has to be a language code configured in your PIM & the value is the value for this field in this language.
    - `fr-FR` string
    - `en-US` string
  - `name` LanguageTranslation, required — This structure does accept key & values where key has to be a language code configured in your PIM & the value is the value for this field in this language.
    - `fr-FR` string
    - `en-US` string
  - `dateModified` string, date-time, nullable — This is an ISO datetime
  - `dateCreated` string, date-time, nullable — This is an ISO datetime

## Other responses

- `400` — Invalid input
- `404` — Resource not found
- `422` — Unprocessable entity

---

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