Skip to main content
Version: 3.x

PromotionRuleUpdatedEvent

History log of the promotion rule created event.

Added in Saleor 3.17
This API is currently in Feature Preview and can be subject to changes at later point.
type PromotionRuleUpdatedEvent implements Node, PromotionEventInterface, PromotionRuleEventInterface {
id: ID!
date: DateTime!
type: PromotionEventsEnum!
createdBy: UserOrApp
ruleId: String
}

Fields

PromotionRuleUpdatedEvent.id ● ID! non-null scalar

PromotionRuleUpdatedEvent.date ● DateTime! non-null scalar

Date when event happened.

PromotionRuleUpdatedEvent.type ● PromotionEventsEnum! non-null enum

Promotion event type.

PromotionRuleUpdatedEvent.createdBy ● UserOrApp union

User or App that created the promotion event.

Requires one of the following permissions: MANAGE_STAFFMANAGE_APPSOWNER

PromotionRuleUpdatedEvent.ruleId ● String scalar

The rule ID associated with the promotion event.

Interfaces

Node interface

An object with an ID

PromotionEventInterface interface

PromotionRuleEventInterface interface

History log of the promotion event related to rule.

Added in Saleor 3.17
This API is currently in Feature Preview and can be subject to changes at later point.

Implemented by

PromotionEvent union


Was this page helpful?