Catalog Attribute — Update
Updates an existing attribute. Equivalent to PUT /api/admin/catalog/attributes/{id}.
Operation
| Operation | Type | Purpose |
|---|---|---|
updateAdminAttribute | Mutation | Update an attribute |
Input fields
Same field set as the REST request body plus the resource IRI id. See the REST page for the full list and immutable-field caveats.
Notes
- The mutation returns the IRI of the updated attribute. Follow up with the
adminAttributequery to load the refreshed detail. codeis immutable. Supplying a different code raises anerrors[]entry withAttribute code cannot be changed.- Supplying
optionsperforms a full-set replacement (insert/update/delete) — same semantics as REST.

