Skip to main content
Version: 3.x

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

Time of the event.

PromotionRuleUpdated.version ● String scalar

Saleor version that triggered the event.

PromotionRuleUpdated.issuingPrincipal ● IssuingPrincipal union

The user or application that triggered the event.

PromotionRuleUpdated.recipient ● App object

The application receiving the webhook.

PromotionRuleUpdated.promotionRule ● PromotionRule object

The promotion rule the event relates to.

Interfaces

Event interface


Was this page helpful?