Skip to main content
POST
Create attribute

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required
attribute_type
enum<string>
required
Available options:
text,
number,
boolean,
date,
single-select,
multi-select,
color
is_visible
boolean
required
is_filterable
boolean
required
active
boolean
default:true
supports_variant_creation
boolean

can be true for attribute types - single-select and color.

Response

200 - application/json

OK

message
string
success
boolean
content
object