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