Skip to main content
PUT
Update an attribute

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

attribute id

Body

application/json

linked and system attributes take only name, is_visible and is_filterable. slug and attribute_type can't be changed.

name
string
active
boolean
default:true
is_readonly
boolean

Shoppers can't change the value in the storefront; admins still can. Can be set on custom attributes only: linked and system attributes are always read-only.

is_visible
boolean
default:true
is_filterable
boolean
default:true

Response

OK

message
string
success
boolean
content
object