Skip to main content

AttributeValueBulkDelete Object

Deletes values of attributes.

Requires one of the following permissions, depending on the type of each value's 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_VALUE_DELETED (async): An attribute value was deleted.
  • ATTRIBUTE_UPDATED (async): An attribute was updated.
type AttributeValueBulkDelete {
count: Int!
attributeErrors: [AttributeError!]! @deprecated
errors: [AttributeError!]!
}

Fields

count ● Int!

Returns how many objects were affected.

errors ● [AttributeError!]!

Show deprecatedHide deprecated

attributeErrors ● [AttributeError!]!

DEPRECATED

Use errors field instead.

Returned By

attributeValueBulkDelete mutation