Skip to main content
PUT
/
attributes
/
{key}
curl -X PUT "https://hub.banditshq.com/api/v1/attributes/color" \
  -H "Authorization: Bearer lasso_..." \
  -H "Content-Type: application/json" \
  -d '{"label": "Product Color", "is_reviewed": true}'
Type changes are not allowed — create a new attribute with a different key instead.
key
string
required
The attribute key to update.
label
string
Updated label.
enum_values
array
Updated enum values.
tags_values
array
Updated tags values.
description
string
Updated description.
is_reviewed
boolean
Review status.
detach
boolean
When true, clears sync metadata (source_id, external_id, source_synced_at) so synced attributes become editable.
Synced attributes cannot update label, enum_values, tags_values, or description unless detach is true.
curl -X PUT "https://hub.banditshq.com/api/v1/attributes/color" \
  -H "Authorization: Bearer lasso_..." \
  -H "Content-Type: application/json" \
  -d '{"label": "Product Color", "is_reviewed": true}'