Skip to main content
Version: 3.x

attributeUpdate

Updates attribute.

Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • ATTRIBUTE_UPDATED (async): An attribute was updated.
attributeUpdate(
externalReference: String
id: ID
input: AttributeUpdateInput!
): AttributeUpdate

Arguments

attributeUpdate.externalReference ● String scalar

External ID of an attribute to update.

Added in Saleor 3.10

attributeUpdate.id ● ID scalar

ID of an attribute to update.

attributeUpdate.input ● AttributeUpdateInput! non-null input

Fields required to update an attribute.

Type

AttributeUpdate object

Updates attribute.

Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • ATTRIBUTE_UPDATED (async): An attribute was updated.

Was this page helpful?