Skip to main content

SaleToggle Object

The event informs about the start or end of the sale.

DEPRECATED: this event will be removed. Use PromotionStarted and PromotionEnded events instead.

type SaleToggle implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
sale(channel: String): Sale
}

Fields​

issuedAt ● DateTime​

Time of the event.

version ● String​

Saleor version that triggered the event.

issuingPrincipal ● IssuingPrincipal​

The user or application that triggered the event.

recipient ● App​

The application receiving the webhook.

sale ● Sale​

The sale the event relates to.

channel ● String​

Slug of a channel for which the data should be returned.

Interfaces​

Event​