v1
latestSwagger 2.02026-07-13137761.0 MBAttribute group
Update/create an attribute group
This endpoint allows you to update a given attribute group. Know more about <a href="/documentation/update.html#update-behavior">Update behavior</a>. Note that if no attribute group exists for the given code, it creates it.
patch/api/rest/v1/attribute-groups/{code}
Path parameters
codestring required
Code of the resource
Request body
Example request
{
"code": "marketing",
"sort_order": 4,
"attributes": [
"sku",
"name",
"description",
"response_time",
"release_date",
"price"
],
"labels": {
"en_US": "Marketing",
"fr_FR": "Marketing"
}
}Response
Created