Skip to main content

attributeUpdate Mutation

Updates attribute.

Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • ATTRIBUTE_UPDATED (async): An attribute was updated.
attributeUpdate(
externalReference: String
id: ID
input: AttributeUpdateInput!
): AttributeUpdate

Arguments

attributeUpdate.externalReference ● String scalar miscellaneous

External ID of an attribute to update.

attributeUpdate.id ● ID scalar miscellaneous

ID of an attribute to update.

attributeUpdate.input ● AttributeUpdateInput! non-null input attributes

Fields required to update an attribute.

Type

AttributeUpdate object attributes

Updates attribute.

Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • ATTRIBUTE_UPDATED (async): An attribute was updated.