Skip to main content
Version: 3.x

attributeValueUpdate

Updates value of an attribute.

Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • ATTRIBUTE_VALUE_UPDATED (async): An attribute value was updated.
  • ATTRIBUTE_UPDATED (async): An attribute was updated.
attributeValueUpdate(
externalReference: String
id: ID
input: AttributeValueUpdateInput!
): AttributeValueUpdate

Arguments

attributeValueUpdate.externalReference ● String scalar

External ID of an AttributeValue to update.

Added in Saleor 3.10

attributeValueUpdate.id ● ID scalar

ID of an AttributeValue to update.

attributeValueUpdate.input ● AttributeValueUpdateInput! non-null input

Fields required to update an AttributeValue.

Type

AttributeValueUpdate object

Updates value of an attribute.

Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • ATTRIBUTE_VALUE_UPDATED (async): An attribute value was updated.
  • ATTRIBUTE_UPDATED (async): An attribute was updated.

Was this page helpful?