Skip to main content
Version: Canary ๐Ÿšง

PromotionRuleDeletedEvent

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 PromotionRuleDeletedEvent implements Node, PromotionEventInterface, PromotionRuleEventInterface {
id: ID!
date: DateTime!
type: PromotionEventsEnum!
createdBy: UserOrApp
ruleId: String
}

Fieldsโ€‹

PromotionRuleDeletedEvent.idย โ—ย ID! non-null scalarโ€‹

PromotionRuleDeletedEvent.dateย โ—ย DateTime! non-null scalarโ€‹

Date when event happened.

PromotionRuleDeletedEvent.typeย โ—ย PromotionEventsEnum! non-null enumโ€‹

Promotion event type.

PromotionRuleDeletedEvent.createdByย โ—ย UserOrApp unionโ€‹

User or App that created the promotion event.

Requires one of the following permissions: MANAGE_STAFFMANAGE_APPSOWNER

PromotionRuleDeletedEvent.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?