Skip to main content

attributeValueUpdate Mutation

Updates value of an attribute.

Requires the 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
Show return type

Arguments

externalReference ● String

External ID of an AttributeValue to update.

id ● ID

ID of an AttributeValue to update.

input ● AttributeValueUpdateInput!

Fields required to update an AttributeValue.

Type

AttributeValueUpdate

Updates value of an attribute.

Requires the 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.