VoucherDelete
Deletes a voucher.
Triggers the following webhook events:
- VOUCHER_DELETED (async): A voucher was deleted.
type VoucherDelete {
discountErrors: [DiscountError!]! @deprecated
errors: [DiscountError!]!
voucher: Voucher
}
Fields
VoucherDelete.discountErrors ● [DiscountError!]! deprecated non-null object discounts
DEPRECATEDThis field will be removed in Saleor 4.0. Use
errorsfield instead.
VoucherDelete.errors ● [DiscountError!]! non-null object discounts
VoucherDelete.voucher ● Voucher object discounts
Returned By
voucherDelete mutation