Skip to main content

PromotionRuleCreated Object

Event sent when new promotion rule is created.

type PromotionRuleCreated implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
promotionRule: PromotionRule
}

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.

promotionRule ● PromotionRule

The promotion rule the event relates to.

Interfaces

Event