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.
type SaleDelete {
discountErrors: [DiscountError!]! @deprecated
errors: [DiscountError!]!
sale: Sale
}

Fields

SaleDelete.discountErrors ● [DiscountError!]! deprecated non-null object discounts

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

SaleDelete.errors ● [DiscountError!]! non-null object discounts

SaleDelete.sale ● Sale object discounts

Returned By

saleDelete mutation