Skip to content

Attribute Family — Update (GraphQL)

Updates an existing attribute family. The id argument is the family IRI (/api/admin/catalog/families/{id}).

The attributeGroups field is an object keyed by group id: a numeric key (e.g. "11") updates an existing group, while a group_* key creates a new group. Existing groups that are omitted from the payload are deleted. Each group value carries code, name, column, position, and customAttributes (each { id, position }) to attach attributes to it.

See the Attribute Families overview for how this menu works.

The mutation payload returns the family's scalar fields. The attributeGroups connection is not resolved on the mutation result — re-query adminAttributeFamily to read the updated structure back.

Released under the MIT License.