Skip to main content
Version: 3.x

attributeBulkUpdate

Updates attributes.

Added in Saleor 3.15
This API is currently in Feature Preview and can be subject to changes at later point.

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.
attributeBulkUpdate(
attributes: [AttributeBulkUpdateInput!]!
errorPolicy: ErrorPolicyEnum
): AttributeBulkUpdate

Arguments

attributeBulkUpdate.attributes ● [AttributeBulkUpdateInput!]! non-null input

Input list of attributes to update.

attributeBulkUpdate.errorPolicy ● ErrorPolicyEnum enum

Policies of error handling. DEFAULT: REJECT_EVERYTHING

Type

AttributeBulkUpdate object

Updates attributes.

Added in Saleor 3.15
This API is currently in Feature Preview and can be subject to changes at later point.

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.

Was this page helpful?