Skip to main content

PromotionRuleUpdated Object

Event sent when new promotion rule is updated.

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

Fields

PromotionRuleUpdated.issuedAt ● DateTime scalar miscellaneous

Time of the event.

PromotionRuleUpdated.version ● String scalar miscellaneous

Saleor version that triggered the event.

PromotionRuleUpdated.issuingPrincipal ● IssuingPrincipal union miscellaneous

The user or application that triggered the event.

PromotionRuleUpdated.recipient ● App object apps

The application receiving the webhook.

PromotionRuleUpdated.promotionRule ● PromotionRule object discounts

The promotion rule the event relates to.

Interfaces

Event interface miscellaneous