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 attributes, MANAGE_PAGE_TYPES_AND_ATTRIBUTES for PAGE_TYPE attributes, MANAGE_CUSTOMER_TYPES_AND_ATTRIBUTES for CUSTOMER_TYPE attributes.
Triggers the following webhook events:
- ATTRIBUTE_DELETED (async): An attribute was deleted.
Applied directives
@webhookEventsInfo(asyncEvents: [ATTRIBUTE_DELETED], syncEvents: [])
attributeBulkDelete(ids: [ID!]!): AttributeBulkDelete
Returns
Show return type
type AttributeBulkDelete {
count: Int!
attributeErrors: [AttributeError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [AttributeError!]!
}Arguments
ids
ids · [ID!]!
List of attribute IDs to delete.
Schema: Saleor 3.23.43. Download SDL.