Skip to main content

VoucherDelete Object

Deletes a voucher.

Requires the MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_DELETED (async): A voucher was deleted.
type VoucherDelete {
discountErrors: [DiscountError!]! @deprecated
errors: [DiscountError!]!
voucher: Voucher
}

Fields

errors ● [DiscountError!]!

voucher ● Voucher

Show deprecated

Returned By

voucherDelete mutation