Skip to main content

voucherBulkDelete Mutation

Deletes vouchers.

Requires the MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_DELETED (async): A voucher was deleted.
voucherBulkDelete(
ids: [ID!]!
): VoucherBulkDelete
Show return type

Arguments

ids ● [ID!]!

List of voucher IDs to delete.

Type

VoucherBulkDelete

Deletes vouchers.

Requires the MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_DELETED (async): A voucher was deleted.