Skip to main content

VoucherCodeBulkDelete Object

Deletes voucher codes.

Added in Saleor 3.18.

Requires the MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_CODES_DELETED (async): A voucher codes were deleted.
type VoucherCodeBulkDelete {
count: Int!
errors: [VoucherCodeBulkDeleteError!]!
}

Fields

count ● Int!

Returns how many codes were deleted.

errors ● [VoucherCodeBulkDeleteError!]!

Returned By

voucherCodeBulkDelete mutation