PromotionEnded Object
The event informs about the end of the promotion.
type PromotionEnded implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
promotion: Promotion
}
Fields
PromotionEnded.issuedAt
● DateTime
scalar miscellaneous
Time of the event.
PromotionEnded.version
● String
scalar miscellaneous
Saleor version that triggered the event.
PromotionEnded.issuingPrincipal
● IssuingPrincipal
union miscellaneous
The user or application that triggered the event.
PromotionEnded.recipient
● App
object apps
The application receiving the webhook.
PromotionEnded.promotion
● Promotion
object discounts
The promotion the event relates to.