Skip to main content

voucherCodeBulkDelete

Deletes voucher codes.

Added in Saleor 3.18
Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_CODES_DELETED (async): A voucher codes were deleted.
voucherCodeBulkDelete(
ids: [ID!]!
): VoucherCodeBulkDelete

Arguments

voucherCodeBulkDelete.ids ● [ID!]! non-null scalar miscellaneous

List of voucher codes IDs to delete.

Type

VoucherCodeBulkDelete object discounts

Deletes voucher codes.

Added in Saleor 3.18
Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

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