Skip to main content

PromotionCreated Object

Event sent when new promotion is created.

type PromotionCreated implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
promotion: Promotion
}

Fields​

issuedAt ● DateTime​

Time of the event.

version ● String​

Saleor version that triggered the event.

issuingPrincipal ● IssuingPrincipal​

The user or application that triggered the event.

recipient ● App​

The application receiving the webhook.

promotion ● Promotion​

The promotion the event relates to.

Interfaces​

Event​