Skip to main content

attributeValueDelete Mutation

Deletes a value of an attribute.

Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • ATTRIBUTE_VALUE_DELETED (async): An attribute value was deleted.
  • ATTRIBUTE_UPDATED (async): An attribute was updated.
attributeValueDelete(
externalReference: String
id: ID
): AttributeValueDelete

Arguments

attributeValueDelete.externalReference ● String scalar miscellaneous

External ID of a value to delete.

attributeValueDelete.id ● ID scalar miscellaneous

ID of a value to delete.

Type

AttributeValueDelete object attributes

Deletes a value of an attribute.

Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • ATTRIBUTE_VALUE_DELETED (async): An attribute value was deleted.
  • ATTRIBUTE_UPDATED (async): An attribute was updated.