Skip to content

Attribute Family — Delete

Deletes an attribute family. Equivalent to DELETE /api/admin/catalog/families/{id}.

Prerequisites

The example uses an illustrative id value. Replace it with the id of a attribute family that exists in your store — use the adminAttributeFamilies query to discover valid ids.

Operation

OperationTypePurpose
deleteAdminAttributeFamilyMutationDelete an attribute family

Errors

ConditionMessage
Family is the last one in the storeAt least one attribute family is required.
One or more products still use the familyCannot delete — attribute family is in use by N product(s).
Unknown idAttribute family not found.

Released under the MIT License.