Skip to main content

attributeDelete Mutation

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 miscellaneous

External ID of an attribute to delete.

attributeDelete.id ● ID scalar miscellaneous

ID of an attribute to delete.

Type

AttributeDelete object attributes

Deletes an attribute.

Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • ATTRIBUTE_DELETED (async): An attribute was deleted.