Skip to main content

AttributeValueUpdate Object

Updates value of an attribute.

Requires one of the following permissions, depending on the type of the value's attribute: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES for `PRODUCT_TYPE` attributesMANAGE_PAGE_TYPES_AND_ATTRIBUTES for `PAGE_TYPE` attributesMANAGE_CUSTOMER_TYPES_AND_ATTRIBUTES for `CUSTOMER_TYPE` attributes

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​

attribute ● Attribute​

The updated attribute.

errors ● [AttributeError!]!​

attributeValue ● AttributeValue​

Show deprecatedHide deprecated

attributeErrors ● [AttributeError!]!​

DEPRECATED

Use errors field instead.

Returned By​

attributeValueUpdate mutation