Retrieve related attributes based on given attribute set ID
/V1/products/attribute-sets/{attributeSetId}/attributes
(Required)
<string>
curl -L \
--url 'http://{{baseurl}}/V1/products/attribute-sets/{attributeSetId}/attributes'
[
{
"attribute_code": "ea",
"frontend_input": "Excepteur tempor fugiat dolore",
"entity_type_id": "exercitation el",
"is_required": true,
"frontend_labels": [
{
"store_id": 29471707,
"label": "minim"
},
{
"store_id": 99974466,
"label": "commodo eli"
}
],
"extension_attributes": {},
"is_wysiwyg_enabled": false,
"is_html_allowed_on_front": false,
"used_for_sort_by": true,
"is_filterable": true,
"is_filterable_in_search": true,
"is_used_in_grid": false,
"is_visible_in_grid": false,
"is_filterable_in_grid": false,
"position": 33007269,
"apply_to": [
"nul",
"minim"
],
"is_searchable": "id qui",
"is_visible_in_advanced_search": "anim ad",
"is_comparable": "Duis Lorem",
"is_used_for_promo_rules": "veniam do labore",
"is_visible_on_front": "ipsum consequat",
"used_in_product_listing": "officia dolor Ut ut",
"is_visible": false,
"scope": "irure esse",
"attribute_id": 70923517,
"options": [
{
"label": "labore cillum",
"value": "quis Ut",
"sort_order": 5888094,
"is_default": false,
"store_labels": [
{
"store_id": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"label": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
{
"store_id": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"label": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
}
]
},
{
"label": "sit",
"value": "aute cupidatat minim",
"sort_order": 93046185,
"is_default": true,
"store_labels": [
{
"store_id": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"label": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
{
"store_id": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"label": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
}
]
}
],
"is_user_defined": false,
"default_frontend_label": "eiusmod",
"note": "magna ut cupidatat mollit dolore",
"backend_type": "exercitation ullamco deserunt",
"backend_model": "exercitation quis tempor",
"source_model": "et occaecat",
"default_value": "Lorem id",
"is_unique": "anim labore veniam aliquip",
"frontend_class": "aliquip ad adipisicing minim eu",
"validation_rules": [
{
"key": "pariatur do",
"value": "in irure sint"
},
{
"key": "veniam",
"value": "amet ut"
}
],
"custom_attributes": [
{
"attribute_code": "non officia",
"value": "Lorem tempor sint deserunt officia"
},
{
"attribute_code": "pariatur",
"value": "elit magna eiusmod"
}
]
},
{
"attribute_code": "qu",
"frontend_input": "ullamco pariatur Duis of",
"entity_type_id": "anim dolor v",
"is_required": true,
"frontend_labels": [
{
"store_id": 20902084,
"label": "sint laborum reprehenderit"
},
{
"store_id": -35794826,
"label": "reprehenderit veniam id ipsum eu"
}
],
"extension_attributes": {},
"is_wysiwyg_enabled": false,
"is_html_allowed_on_front": false,
"used_for_sort_by": true,
"is_filterable": true,
"is_filterable_in_search": true,
"is_used_in_grid": true,
"is_visible_in_grid": true,
"is_filterable_in_grid": false,
"position": 66622610,
"apply_to": [
"nostrud eu laborum in sunt",
"culpa esse amet"
],
"is_searchable": "Excepteur reprehenderit",
"is_visible_in_advanced_search": "fugiat eiusmod",
"is_comparable": "qui aute irure mollit",
"is_used_for_promo_rules": "Excepteur proident Ut dolore consectetur",
"is_visible_on_front": "adipisicing sit nulla ipsum",
"used_in_product_listing": "enim pariatur in velit",
"is_visible": true,
"scope": "sunt enim nulla",
"attribute_id": -33000821,
"options": [
{
"label": "voluptate sint in ullamco",
"value": "commodo deserunt ex ea",
"sort_order": -2205486,
"is_default": true,
"store_labels": [
{
"store_id": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"label": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
{
"store_id": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"label": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
}
]
},
{
"label": "est ci",
"value": "in consequat dolor",
"sort_order": -25194534,
"is_default": false,
"store_labels": [
{
"store_id": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"label": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
{
"store_id": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"label": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
}
]
}
],
"is_user_defined": true,
"default_frontend_label": "ea id dolore cillum",
"note": "et Lorem Duis",
"backend_type": "ea sed",
"backend_model": "pariatur voluptate",
"source_model": "incididunt nisi",
"default_value": "pariatur et est Lorem",
"is_unique": "esse dolore",
"frontend_class": "ut Excepteur dolore",
"validation_rules": [
{
"key": "consequat id cupidatat dolore",
"value": "enim in id veniam"
},
{
"key": "anim aute",
"value": "deserunt non laboris"
}
],
"custom_attributes": [
{
"attribute_code": "nulla ad",
"value": "ut aute mollit"
},
{
"attribute_code": "eu sint",
"value": "in"
}
]
}
]
OK
Remove attribute from attribute set
/V1/products/attribute-sets/{attributeSetId}/attributes/{attributeCode}
(Required)
<string>
(Required)
<string>
curl -L \
--request DELETE \
--url 'http://{{baseurl}}/V1/products/attribute-sets/{attributeSetId}/attributes/{attributeCode}'
true
OK
Assign attribute to attribute set
/V1/products/attribute-sets/attributes
application/json
{"attributeSetId":"<integer>","attributeGroupId":"<integer>","attributeCode":"<string>","sortOrder":"<integer>"}
curl -L \
--request POST \
--url 'http://{{baseurl}}/V1/products/attribute-sets/attributes' \
--header 'Content-Type: application/json' \
--data '{
"attributeSetId": "<integer>",
"attributeGroupId": "<integer>",
"attributeCode": "<string>",
"sortOrder": "<integer>"
}'
66689314
OK