Skip to content

Attribute Family — Create

Creates a new attribute family. Equivalent to POST /api/admin/catalog/families.

Operation

OperationTypePurpose
createAdminAttributeFamilyMutationCreate a new attribute family

Input

FieldNotes
codeSnake_case identifier, unique.
nameDisplay name.
attribute_groupsOptional array of { code, name, column, position, custom_attributes }.

See the REST page for full field semantics.

Notes

  • Follow up with the adminAttributeFamily query to load the refreshed detail.
  • Same code validation rules as the REST endpoint.

Released under the MIT License.