VoucherDeleted Object
Event sent when voucher is deleted.
type VoucherDeleted implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
voucher(channel: String): Voucher
}
Fields
VoucherDeleted.issuedAt
● DateTime
scalar miscellaneous
Time of the event.
VoucherDeleted.version
● String
scalar miscellaneous
Saleor version that triggered the event.
VoucherDeleted.issuingPrincipal
● IssuingPrincipal
union miscellaneous
The user or application that triggered the event.
VoucherDeleted.recipient
● App
object apps
The application receiving the webhook.
VoucherDeleted.voucher
● Voucher
object discounts
The voucher the event relates to.
VoucherDeleted.voucher.channel
● String
scalar miscellaneous
Slug of a channel for which the data should be returned.