VoucherBulkDelete Object
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
DEPRECATED
This field will be removed in Saleor 4.0. Use errors
field instead.
VoucherBulkDelete.errors
● [DiscountError!]!
non-null object discounts
Returned By
voucherBulkDelete
mutation