Skip to main content

PromotionRuleDeleted Object

Event sent when new promotion rule is deleted.

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.

Interfaces

Event interface miscellaneous