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
PromotionRuleCreated.issuedAt ● DateTime scalar miscellaneous
Time of the event.
PromotionRuleCreated.version ● String scalar miscellaneous
Saleor version that triggered the event.
PromotionRuleCreated.issuingPrincipal ● IssuingPrincipal union miscellaneous
The user or application that triggered the event.
PromotionRuleCreated.recipient ● App object apps
The application receiving the webhook.
PromotionRuleCreated.promotionRule ● PromotionRule object discounts
The promotion rule the event relates to.