SaleUpdate Object
Updates a sale.
Triggers the following webhook events:
- SALE_UPDATED (async): A sale was updated.
- SALE_TOGGLE (async): Optionally triggered when a sale is started or stopped.
Applied directives
@webhookEventsInfo(asyncEvents: [SALE_UPDATED, SALE_TOGGLE], syncEvents: [])
type SaleUpdate {
discountErrors: [DiscountError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [DiscountError!]!
sale: Sale
}
Fields
discountErrors
discountErrors · [DiscountError!]!
errors
errors · [DiscountError!]!
sale
sale · Sale
Used by
Schema: Saleor 3.23.43. Download SDL.