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.
type AttributeValueUpdate {
attribute: Attribute
attributeErrors: [AttributeError!]! @deprecated
errors: [AttributeError!]!
attributeValue: AttributeValue
}

Fields

AttributeValueUpdate.attribute ● Attribute object

The updated attribute.

AttributeValueUpdate.attributeErrors ● [AttributeError!]! deprecated non-null object

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

AttributeValueUpdate.errors ● [AttributeError!]! non-null object

AttributeValueUpdate.attributeValue ● AttributeValue object

Returned by

attributeValueUpdate mutation


Was this page helpful?