PromotionCreated
Event sent when new promotion is created.
Added in Saleor 3.17This API is currently in Feature Preview and can be subject to changes at later point.
type PromotionCreated implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
promotion: Promotion
}
Fields
PromotionCreated.issuedAt ● DateTime scalar
Time of the event.
PromotionCreated.version ● String scalar
Saleor version that triggered the event.
PromotionCreated.issuingPrincipal ● IssuingPrincipal union
The user or application that triggered the event.
PromotionCreated.recipient ● App object
The application receiving the webhook.
PromotionCreated.promotion ● Promotion object
The promotion the event relates to.