Save attribute group

PUT /V1/products/attribute-sets/{attributeSetId}/groups

Save attribute group

Body

Responses

PUT /V1/products/attribute-sets/{attributeSetId}/groups
curl \
 -X PUT https://magento2.winkelstraat.mac/rest/all/V1/products/attribute-sets/{attributeSetId}/groups \
 -d '{"group":{"attribute_group_id":"string","attribute_group_name":"string","attribute_set_id":42,"extension_attributes":{"attribute_group_code":"string","sort_order":"string"}}}'
Request examples
{
  "group": {
    "attribute_group_id": "string",
    "attribute_group_name": "string",
    "attribute_set_id": 42,
    "extension_attributes": {
      "attribute_group_code": "string",
      "sort_order": "string"
    }
  }
}
Response examples (200)
{
  "attribute_group_id": "string",
  "attribute_group_name": "string",
  "attribute_set_id": 42,
  "extension_attributes": {
    "attribute_group_code": "string",
    "sort_order": "string"
  }
}
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 (default)
{
  "message": "string",
  "errors": [
    {
      "message": "string",
      "parameters": [
        {
          "resources": "string",
          "fieldName": "string",
          "fieldValue": "string"
        }
      ]
    }
  ],
  "code": 42,
  "parameters": [
    {
      "resources": "string",
      "fieldName": "string",
      "fieldValue": "string"
    }
  ],
  "trace": "string"
}