Body
-
Interface AttributeSetInterface
POST /V1/eav/attribute-sets
curl \
-X POST https://magento2.winkelstraat.mac/rest/all/V1/eav/attribute-sets \
-d '{"entityTypeCode":"string","attributeSet":{"attribute_set_id":42,"attribute_set_name":"string","sort_order":42,"entity_type_id":42,"extension_attributes":{}},"skeletonId":42}'
Request examples
{
"entityTypeCode": "string",
"attributeSet": {
"attribute_set_id": 42,
"attribute_set_name": "string",
"sort_order": 42,
"entity_type_id": 42,
"extension_attributes": {}
},
"skeletonId": 42
}
Response examples (200)
{
"attribute_set_id": 42,
"attribute_set_name": "string",
"sort_order": 42,
"entity_type_id": 42,
"extension_attributes": {}
}
Response examples (401)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (400)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}