Admin Catalog: Attribute Families

Create a new attribute family

Creates an attribute family with optional nested attribute groups and per-group custom_attributes. code must be unique and pass the Code rule.

post/catalog/families

Request

Request body

codestring required
namestring required
attribute_groupsobject[]

Example request

{
  "code": "electronics",
  "name": "Electronics",
  "attribute_groups": [
    {
      "code": "general",
      "name": "General",
      "column": 1,
      "position": 1,
      "custom_attributes": [
        {
          "id": 1
        },
        {
          "id": 2
        }
      ]
    }
  ]
}

Response

Family created. Returns the same shape as GET /catalog/families/{id}.

Changes

No recorded changes to this operation across all 8 revisions of this API.