SaleUpdated
Event sent when sale is updated.
Added in Saleor 3.2DEPRECATED: 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
Time of the event.
SaleUpdated.version
● String
scalar
Saleor version that triggered the event.
SaleUpdated.issuingPrincipal
● IssuingPrincipal
union
The user or application that triggered the event.
SaleUpdated.recipient
● App
object
The application receiving the webhook.
SaleUpdated.sale
● Sale
object
The sale the event relates to.
SaleUpdated.sale.channel
●String
scalarSlug of a channel for which the data should be returned.