Skip to main content

PromotionCreatedEvent Object

History log of the promotion created event.

type PromotionCreatedEvent implements Node, PromotionEventInterface {
id: ID!
date: DateTime!
type: PromotionEventsEnum!
createdBy: UserOrApp
}

Fields

PromotionCreatedEvent.id ● ID! non-null scalar miscellaneous

PromotionCreatedEvent.date ● DateTime! non-null scalar miscellaneous

Date when event happened.

PromotionCreatedEvent.type ● PromotionEventsEnum! non-null enum discounts

Promotion event type.

PromotionCreatedEvent.createdBy ● UserOrApp union miscellaneous

User or App that created the promotion event.

Requires one of the following permissions: MANAGE_STAFFMANAGE_APPSOWNER

Interfaces

Node interface miscellaneous

An object with an ID

PromotionEventInterface interface miscellaneous

Implemented By

PromotionEvent union