PromotionCreatedEvent
History log of the promotion created event.
Added in Saleor 3.17This API is currently in Feature Preview and can be subject to changes at later point.
type PromotionCreatedEvent implements Node, PromotionEventInterface {
id: ID!
date: DateTime!
type: PromotionEventsEnum!
createdBy: UserOrApp
}
Fields
PromotionCreatedEvent.id ● ID! non-null scalar
PromotionCreatedEvent.date ● DateTime! non-null scalar
Date when event happened.
PromotionCreatedEvent.type ● PromotionEventsEnum! non-null enum
Promotion event type.
PromotionCreatedEvent.createdBy ● UserOrApp union
User or App that created the promotion event.
Interfaces
Node interface
An object with an ID
PromotionEventInterface interface
Implemented by
PromotionEvent union