Skip to main content
Version: 3.x

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

ID of a sale to delete.

Type

SaleDelete object

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.

Was this page helpful?