attributeBulkUpdate Mutation
Updates attributes.
Triggers the following webhook events:
- ATTRIBUTE_UPDATED (async): An attribute was updated. Optionally called when new attribute value was created or deleted.
- ATTRIBUTE_VALUE_CREATED (async): Called optionally when an attribute value was created.
- ATTRIBUTE_VALUE_DELETED (async): Called optionally when an attribute value was deleted.
Applied directives
@webhookEventsInfo(asyncEvents: [ATTRIBUTE_UPDATED, ATTRIBUTE_VALUE_CREATED, ATTRIBUTE_VALUE_DELETED], syncEvents: [])
attributeBulkUpdate(attributes: [AttributeBulkUpdateInput!]!, errorPolicy: ErrorPolicyEnum): AttributeBulkUpdate
Returns
Show return type
type AttributeBulkUpdate {
count: Int!
results: [AttributeBulkUpdateResult!]!
errors: [AttributeBulkUpdateError!]!
}Arguments
attributes
attributes · [AttributeBulkUpdateInput!]!
Input list of attributes to update.
errorPolicy
errorPolicy · ErrorPolicyEnum
Policies of error handling. DEFAULT: REJECT_EVERYTHING
Schema: Saleor 3.23.43. Download SDL.