Skip to main content
Version: 3.x

attributeValueDelete

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

External ID of a value to delete.

Added in Saleor 3.10

attributeValueDelete.id ● ID scalar

ID of a value to delete.

Type

AttributeValueDelete object

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.

Was this page helpful?