Skip to main content
Version: 3.x

AttributeBulkDelete

Deletes attributes.

Requires MANAGE_PAGE_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

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

Fields

AttributeBulkDelete.count ● Int! non-null scalar

Returns how many objects were affected.

AttributeBulkDelete.attributeErrors ● [AttributeError!]! deprecated non-null object

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

AttributeBulkDelete.errors ● [AttributeError!]! non-null object

Returned by

attributeBulkDelete mutation


Was this page helpful?