SaleCreated
Event sent when new sale is created.
Added in Saleor 3.2type SaleCreated implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
sale(channel: String): Sale
}
Fields
SaleCreated.issuedAt ● DateTime scalar
Time of the event.
SaleCreated.version ● String scalar
Saleor version that triggered the event.
SaleCreated.issuingPrincipal ● IssuingPrincipal union
The user or application that triggered the event.
SaleCreated.recipient ● App object
The application receiving the webhook.
SaleCreated.sale ● Sale object
The sale the event relates to.
SaleCreated.sale.channel●StringscalarSlug of a channel for which the data should be returned.
Interfaces
Event interface
Was this page helpful?