Skip to main content
Version: 3.x

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

Time of the event.

SaleDeleted.version ● String scalar

Saleor version that triggered the event.

SaleDeleted.issuingPrincipal ● IssuingPrincipal union

The user or application that triggered the event.

SaleDeleted.recipient ● App object

The application receiving the webhook.

SaleDeleted.sale ● Sale object

The sale the event relates to.

SaleDeleted.sale.channel ● String scalar

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

Interfaces

Event interface


Was this page helpful?