Attribute sets
Retrieve attribute set information based on given ID
Path parameters
attributeSetIdstringRequiredExample:
(Required)
<integer>
Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
get
GET /V1/products/attribute-sets/{attributeSetId} HTTP/1.1
Host: {{baseurl}}
Accept: */*
{
"attribute_set_name": "<string>",
"sort_order": "<integer>",
"attribute_set_id": "<integer>",
"entity_type_id": "<integer>",
"extension_attributes": "<object>"
}
Save attribute set data
Path parameters
attributeSetIdstringRequiredExample:
(Required)
<string>
Header parameters
Content-TypestringOptionalExample:
application/json
Body
objectOptionalExample:
{"attributeSet":{"attribute_set_name":"<string>","sort_order":"<integer>","attribute_set_id":"<integer>","entity_type_id":"<integer>","extension_attributes":"<object>"}}
Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
put
PUT /V1/products/attribute-sets/{attributeSetId} HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 169
{
"attributeSet": {
"attribute_set_name": "<string>",
"sort_order": "<integer>",
"attribute_set_id": "<integer>",
"entity_type_id": "<integer>",
"extension_attributes": "<object>"
}
}
{
"attribute_set_name": "<string>",
"sort_order": "<integer>",
"attribute_set_id": "<integer>",
"entity_type_id": "<integer>",
"extension_attributes": "<object>"
}
Remove attribute set by given ID
Path parameters
attributeSetIdstringRequiredExample:
(Required)
<integer>
Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
delete
DELETE /V1/products/attribute-sets/{attributeSetId} HTTP/1.1
Host: {{baseurl}}
Accept: */*
true
Create attribute set from data
Header parameters
Content-TypestringOptionalExample:
application/json
Body
objectOptionalExample:
{"attributeSet":{"attribute_set_name":"<string>","sort_order":"<integer>","attribute_set_id":"<integer>","entity_type_id":"<integer>","extension_attributes":"<object>"},"skeletonId":"<integer>"}
Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
post
POST /V1/products/attribute-sets HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 194
{
"attributeSet": {
"attribute_set_name": "<string>",
"sort_order": "<integer>",
"attribute_set_id": "<integer>",
"entity_type_id": "<integer>",
"extension_attributes": "<object>"
},
"skeletonId": "<integer>"
}
{
"attribute_set_name": "<string>",
"sort_order": "<integer>",
"attribute_set_id": "<integer>",
"entity_type_id": "<integer>",
"extension_attributes": "<object>"
}