---
title: "Update a Variant Attribute's"
method: PUT
path: "/variant_attributes/{attribute-id}"
tags: ["Variant Attributes"]
---

# Update a Variant Attribute's

`PUT /variant_attributes/{attribute-id}`

Updates a Variant Attribute's name.

🔒 Requires: `products:write` scope

## Path parameters

- `attribute-id` string, uuid, required

## Request body

- VariantAttributeCreateUpdateBody
  - `name` string, required

## Response `200`

The updated variant attribute.

- VariantAttributeUpdateResponse
  - `data` object
    - `id` string
    - `name` string

## Other responses

- `404` — Error response. Attribute not found.
- `422` — Error response. Failed to process variant attribute.

---

[API](https://skmtc.net/lightspeedhq/apis/api-2026-07.md) · [All operations](https://skmtc.net/lightspeedhq/apis/api-2026-07/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lightspeedhq/api-2026-07/revisions/72d4ceb46dbb/schema)
