AttributeBulkDelete Object
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: [])
type AttributeBulkDelete {
count: Int!
attributeErrors: [AttributeError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [AttributeError!]!
}
Fields
count
count · Int!
Returns how many objects were affected.
attributeErrors
attributeErrors · [AttributeError!]!
errors
errors · [AttributeError!]!
Used by
Schema: Saleor 3.23.43. Download SDL.