---
title: "Update a product attribute"
method: PUT
path: "/api/v1/settings/productattributes/{attribute_key}"
tags: ["ProductAttributes"]
---

# Update a product attribute

`PUT /api/v1/settings/productattributes/{attribute_key}`

## Path parameters

- `attribute_key` string, nullable, required — The attribute ID

## Request body

- V1ProductAttribute
  - `attribute_key` string, required
  - `visible_name` string, required
  - `system_attribute` boolean

## Response `200`

The updated option item

- TempestResponseV1ProductAttribute
  - `meta` object, nullable
  - `links` TempestLink[], nullable
    - `rel` string, nullable
    - `href` string, nullable
  - `validation_result` TempestValidationError[], nullable
    - `member_names` string[], nullable
    - `error_message` string, nullable
  - `errors` object, nullable
  - `data` V1ProductAttribute
    - `attribute_key` string, required
    - `visible_name` string, required
    - `system_attribute` boolean

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — No product, option or item for that ID found

---

[API](https://skmtc.dev/ekm/apis/ekm-partner-api.md) · [All operations](https://skmtc.dev/ekm/apis/ekm-partner-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ekm/ekm-partner-api/revisions/853bef073bb3/schema)
