Skip to main content

SaleDeleted

Event sent when sale is deleted.

Added in Saleor 3.2

DEPRECATED: this event will be removed in Saleor 4.0. Use PromotionDeleted event instead.

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

Fields

SaleDeleted.issuedAt ● DateTime scalar miscellaneous

Time of the event.

SaleDeleted.version ● String scalar miscellaneous

Saleor version that triggered the event.

SaleDeleted.issuingPrincipal ● IssuingPrincipal union miscellaneous

The user or application that triggered the event.

SaleDeleted.recipient ● App object apps

The application receiving the webhook.

SaleDeleted.sale ● Sale object discounts

The sale the event relates to.

SaleDeleted.sale.channel ● String scalar miscellaneous

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

Interfaces

Event interface miscellaneous