Skip to main content

attributeBulkDelete Mutation

Deletes attributes.

Requires one of the following permissions, depending on the type of each attribute: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES for `PRODUCT_TYPE` attributesMANAGE_PAGE_TYPES_AND_ATTRIBUTES for `PAGE_TYPE` attributesMANAGE_CUSTOMER_TYPES_AND_ATTRIBUTES for `CUSTOMER_TYPE` attributes

Triggers the following webhook events:

  • ATTRIBUTE_DELETED (async): An attribute was deleted.
attributeBulkDelete(
ids: [ID!]!
): AttributeBulkDelete
Details
type AttributeBulkDelete {
count: Int!
attributeErrors: [AttributeError!]! @deprecated
errors: [AttributeError!]!
}

Arguments

ids ● [ID!]!

List of attribute IDs to delete.

Type

AttributeBulkDelete

Deletes attributes.

Requires one of the following permissions, depending on the type of each attribute: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES for `PRODUCT_TYPE` attributesMANAGE_PAGE_TYPES_AND_ATTRIBUTES for `PAGE_TYPE` attributesMANAGE_CUSTOMER_TYPES_AND_ATTRIBUTES for `CUSTOMER_TYPE` attributes

Triggers the following webhook events:

  • ATTRIBUTE_DELETED (async): An attribute was deleted.