PromotionCreated Object
Event sent when new promotion is created.
type PromotionCreated implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
promotion: Promotion
}
Fields
PromotionCreated.issuedAt
● DateTime
scalar miscellaneous
Time of the event.
PromotionCreated.version
● String
scalar miscellaneous
Saleor version that triggered the event.
PromotionCreated.issuingPrincipal
● IssuingPrincipal
union miscellaneous
The user or application that triggered the event.
PromotionCreated.recipient
● App
object apps
The application receiving the webhook.
PromotionCreated.promotion
● Promotion
object discounts
The promotion the event relates to.