SaleUpdate Object
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
DEPRECATED
This field will be removed in Saleor 4.0. Use errors
field instead.
SaleUpdate.errors
● [DiscountError!]!
non-null object discounts
SaleUpdate.sale
● Sale
object discounts
Returned By
saleUpdate
mutation