Skip to main content

saleDelete

Deletes a sale.

DEPRECATED: this mutation will be removed in Saleor 4.0. Use promotionDelete mutation instead.

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • SALE_DELETED (async): A sale was deleted.
saleDelete(
id: ID!
): SaleDelete

Arguments

saleDelete.id ● ID! non-null scalar miscellaneous

ID of a sale to delete.

Type

SaleDelete object discounts

Deletes a sale.

DEPRECATED: this mutation will be removed in Saleor 4.0. Use promotionDelete mutation instead.

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • SALE_DELETED (async): A sale was deleted.