Create an attribute set
Creates a new attribute set.
The
namemust be unique across all attribute sets. Creating a set with anamethat already exists is rejected.Attribute configurations are not created here; add them with the Attribute Configurations endpoints (
/attribute_config/). Theattributeconfig_setfield is read-only.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The payload accepted when creating or fully updating an attribute set.
The unique name of the attribute set.
The type of an attribute set.
simple— a standard attribute set (default)grouped— an attribute set used for grouped products
The attribute set was created.
A named group of attribute configurations assigned to products.
The unique identifier of the attribute set.
The unique name of the attribute set.
The type of an attribute set.
simple— a standard attribute set (default)grouped— an attribute set used for grouped products
The request contains invalid or missing data.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
POST /api/v1/remote/1/attribute_set/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"name": "text",
"attribute_set_type": "simple"
}{
"pk": 15,
"name": "Apparel",
"attribute_set_type": "simple",
"attributeconfig_set": []
}Last updated
Was this helpful?

