Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

voucherCodeBulkDelete Mutation

Deletes voucher codes.

Added in Saleor 3.18.

Requires one of the following permissions:MANAGE_DISCOUNTS

Triggers the following webhook events:

  • VOUCHER_CODES_DELETED (async): A voucher codes were deleted.

Applied directives

@webhookEventsInfo(asyncEvents: [VOUCHER_CODES_DELETED], syncEvents: [])
voucherCodeBulkDelete(ids: [ID!]!): VoucherCodeBulkDelete

Returns

VoucherCodeBulkDelete

Show return type
type VoucherCodeBulkDelete {
  count: Int!
  errors: [VoucherCodeBulkDeleteError!]!
}

Arguments

ids

ids · [ID!]!

List of voucher codes IDs to delete.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?