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