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

PromotionRuleCreatedEvent.id ● ID! non-null scalar miscellaneous

PromotionRuleCreatedEvent.date ● DateTime! non-null scalar miscellaneous

Date when event happened.

PromotionRuleCreatedEvent.type ● PromotionEventsEnum! non-null enum discounts

Promotion event type.

PromotionRuleCreatedEvent.createdBy ● UserOrApp union miscellaneous

User or App that created the promotion event.

Requires one of the following permissions: MANAGE_STAFFMANAGE_APPSOWNER

PromotionRuleCreatedEvent.ruleId ● String scalar miscellaneous

The rule ID associated with the promotion event.

Interfaces

Node interface miscellaneous

An object with an ID

PromotionEventInterface interface miscellaneous

PromotionRuleEventInterface interface miscellaneous

History log of the promotion event related to rule.

Implemented By

PromotionEvent union