Skip to main content
PUT
Update attribute

Authorizations

Authorization
string
header
required

Sign in to the admin dashboard and use the resulting ID token for a store and operation you can access. The authenticated dashboard cookie is accepted when the Authorization header is absent. Missing or insufficient access returns 401.

Path Parameters

id
string
required

attribute ulid

Body

application/json
name
string
Maximum string length: 128
attribute_type
enum<string>

Set at creation; changing the type of an existing attribute is not supported.

Available options:
text,
number,
boolean,
date,
single-select,
multi-select,
color
is_visible
boolean
is_filterable
boolean
active
boolean
supports_variant_creation
boolean

Response

OK

message
string
success
boolean
content
object