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

Fields

AttributeValueUpdate.attribute ● Attribute object attributes

The updated attribute.

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

DEPRECATED

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

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

AttributeValueUpdate.attributeValue ● AttributeValue object attributes

Returned By

attributeValueUpdate mutation