SaleUpdate
Updates a sale.
DEPRECATED: this mutation will be removed in Saleor 4.0. Use promotionUpdate mutation instead.
Triggers the following webhook events:
- SALE_UPDATED (async): A sale was updated.
- SALE_TOGGLE (async): Optionally triggered when a sale is started or stopped.
type SaleUpdate {
discountErrors: [DiscountError!]! @deprecated
errors: [DiscountError!]!
sale: Sale
}
Fields
SaleUpdate.discountErrors ● [DiscountError!]! deprecated non-null object discounts
DEPRECATEDThis field will be removed in Saleor 4.0. Use
errorsfield instead.
SaleUpdate.errors ● [DiscountError!]! non-null object discounts
SaleUpdate.sale ● Sale object discounts
Returned By
saleUpdate mutation