SaleUpdated Object
Event sent when sale is updated.
DEPRECATED: this event will be removed in Saleor 4.0. Use PromotionUpdated
event instead.
type SaleUpdated implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
sale(channel: String): Sale
}
Fields
SaleUpdated.issuedAt
● DateTime
scalar miscellaneous
Time of the event.
SaleUpdated.version
● String
scalar miscellaneous
Saleor version that triggered the event.
SaleUpdated.issuingPrincipal
● IssuingPrincipal
union miscellaneous
The user or application that triggered the event.
SaleUpdated.recipient
● App
object apps
The application receiving the webhook.
SaleUpdated.sale
● Sale
object discounts
The sale the event relates to.
SaleUpdated.sale.channel
● String
scalar miscellaneous
Slug of a channel for which the data should be returned.