---
title: "PUT /pim/attributes/{id}"
method: PUT
path: "/pim/attributes/{id}"
tags: ["PIM"]
---

# PUT /pim/attributes/{id}

`PUT /pim/attributes/{id}`

## Path parameters

- `id` string, required

## Request body

- PimAttributeUpdate
  - `name` string
  - `description` string, nullable
  - `external_id` string
  - `gravity` PimGravity
    - `after` string
    - `before` string
  - `constraints` PimConstraintsWrite
    - `choices` PimChoice[]
      - `name` string, required
      - `value` string, required
    - `unit` string
    - `file_max_size` integer
    - `file_allowed_types` unknown[]
      - unknown
  - `hint` string, nullable
  - `placeholder` string, nullable
  - `group` PimIdWrite
    - `id` string, required

## Response `200`

- PimAttributeUpdate
  - `name` string
  - `description` string, nullable
  - `external_id` string
  - `gravity` PimGravity
    - `after` string
    - `before` string
  - `constraints` PimConstraintsWrite
    - `choices` PimChoice[]
      - `name` string, required
      - `value` string, required
    - `unit` string
    - `file_max_size` integer
    - `file_allowed_types` unknown[]
      - unknown
  - `hint` string, nullable
  - `placeholder` string, nullable
  - `group` PimIdWrite
    - `id` string, required

## Other responses

- `400`

---

[API](https://skmtc.net/cloudblue/apis/cloudblue-connect-api.md) · [All operations](https://skmtc.net/cloudblue/apis/cloudblue-connect-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudblue/cloudblue-connect-api/versions/54fef191d46c/schema)
