Skip to main content

PromotionRuleUpdated

Event sent when new promotion rule is updated.

Added in Saleor 3.17
This API is currently in Feature Preview and can be subject to changes at later point.
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