Skip to main content

VoucherCodesDeleted Object

Event sent when voucher codes were deleted.

Added in Saleor 3.19
type VoucherCodesDeleted implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
voucherCodes: [VoucherCode!]
}

Fields

VoucherCodesDeleted.issuedAt ● DateTime scalar miscellaneous

Time of the event.

VoucherCodesDeleted.version ● String scalar miscellaneous

Saleor version that triggered the event.

VoucherCodesDeleted.issuingPrincipal ● IssuingPrincipal union miscellaneous

The user or application that triggered the event.

VoucherCodesDeleted.recipient ● App object apps

The application receiving the webhook.

VoucherCodesDeleted.voucherCodes ● [VoucherCode!] list object miscellaneous

The voucher codes the event relates to.

Interfaces

Event interface miscellaneous