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