Skip to main content
Version: 3.x

attributeDelete

Deletes an attribute.

Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • ATTRIBUTE_DELETED (async): An attribute was deleted.
attributeDelete(
externalReference: String
id: ID
): AttributeDelete

Arguments

attributeDelete.externalReference ● String scalar

External ID of an attribute to delete.

Added in Saleor 3.10

attributeDelete.id ● ID scalar

ID of an attribute to delete.

Type

AttributeDelete object

Deletes an attribute.

Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • ATTRIBUTE_DELETED (async): An attribute was deleted.

Was this page helpful?