Skip to main content
Version: 3.x


Deletes voucher codes.

Added in Saleor 3.18
Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_UPDATED (async): A voucher was updated.
type VoucherCodeBulkDelete {
count: Int!
errors: [VoucherCodeBulkDeleteError!]!


VoucherCodeBulkDelete.count ● Int! non-null scalar

Returns how many codes were deleted.

VoucherCodeBulkDelete.errors ● [VoucherCodeBulkDeleteError!]! non-null object

Returned by

voucherCodeBulkDelete mutation

Was this page helpful?