Skip to main content

attributeUpdate Mutation

Updates attribute.

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

Arguments

externalReference ● String

External ID of an attribute to update.

id ● ID

ID of an attribute to update.

input ● AttributeUpdateInput!

Fields required to update an attribute.

Type

AttributeUpdate

Updates attribute.

Requires the MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • ATTRIBUTE_UPDATED (async): An attribute was updated.