Skip to main content

voucherDelete Mutation

Deletes a voucher.

Requires the MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_DELETED (async): A voucher was deleted.
voucherDelete(
id: ID!
): VoucherDelete
Show return type

Arguments

id ● ID!

ID of a voucher to delete.

Type

VoucherDelete

Deletes a voucher.

Requires the MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_DELETED (async): A voucher was deleted.