Skip to main content

PromotionUpdatedEvent

History log of the promotion updated event.

Added in Saleor 3.17
This API is currently in Feature Preview and can be subject to changes at later point.
type PromotionUpdatedEvent implements Node, PromotionEventInterface {
id: ID!
date: DateTime!
type: PromotionEventsEnum!
createdBy: UserOrApp
}

Fields

PromotionUpdatedEvent.id ● ID! non-null scalar miscellaneous

PromotionUpdatedEvent.date ● DateTime! non-null scalar miscellaneous

Date when event happened.

PromotionUpdatedEvent.type ● PromotionEventsEnum! non-null enum discounts

Promotion event type.

PromotionUpdatedEvent.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