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
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
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.