Skip to main content

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 attributes

Input list of attributes to update.

attributeBulkUpdate.errorPolicy ● ErrorPolicyEnum enum miscellaneous

Policies of error handling. DEFAULT: REJECT_EVERYTHING

Type

AttributeBulkUpdate object attributes

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.