Skip to main content

PromotionRuleCreatedEvent Object

History log of the promotion rule created event.

type PromotionRuleCreatedEvent implements Node, PromotionEventInterface, PromotionRuleEventInterface {
id: ID!
date: DateTime!
type: PromotionEventsEnum!
createdBy: UserOrApp
ruleId: String
}

Fields​

id ● ID!​

date ● DateTime!​

Date when event happened.

type ● PromotionEventsEnum!​

Promotion event type.

createdBy ● UserOrApp​

User or App that created the promotion event.

Requires one of the following permissions: MANAGE_STAFFMANAGE_APPSOWNER

ruleId ● String​

The rule ID associated with the promotion event.

Interfaces​

Node​

An object with an ID

PromotionEventInterface​

PromotionRuleEventInterface​

History log of the promotion event related to rule.

Implemented By​

PromotionEvent union