VoucherBulkDelete
Deletes vouchers.
Triggers the following webhook events:
- VOUCHER_DELETED (async): A voucher was deleted.
type VoucherBulkDelete {
count: Int!
discountErrors: [DiscountError!]! @deprecated
errors: [DiscountError!]!
}
Fields
VoucherBulkDelete.count ● Int! non-null scalar miscellaneous
Returns how many objects were affected.
VoucherBulkDelete.discountErrors ● [DiscountError!]! deprecated non-null object discounts
DEPRECATEDThis field will be removed in Saleor 4.0. Use
errorsfield instead.
VoucherBulkDelete.errors ● [DiscountError!]! non-null object discounts
Returned By
voucherBulkDelete mutation