Skip to main content
Version: 3.x

VoucherDeleted

Event sent when voucher is deleted.

Added in Saleor 3.4
type VoucherDeleted implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
voucher(channel: String): Voucher
}

Fields

VoucherDeleted.issuedAt ● DateTime scalar

Time of the event.

VoucherDeleted.version ● String scalar

Saleor version that triggered the event.

VoucherDeleted.issuingPrincipal ● IssuingPrincipal union

The user or application that triggered the event.

VoucherDeleted.recipient ● App object

The application receiving the webhook.

VoucherDeleted.voucher ● Voucher object

The voucher the event relates to.

VoucherDeleted.voucher.channel ● String scalar

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

Interfaces

Event interface


Was this page helpful?