Skip to main content

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 miscellaneous

External ID of an AttributeValue to update.

Added in Saleor 3.10

attributeValueUpdate.id ● ID scalar miscellaneous

ID of an AttributeValue to update.

attributeValueUpdate.input ● AttributeValueUpdateInput! non-null input attributes

Fields required to update an AttributeValue.

Type

AttributeValueUpdate object attributes

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.