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 deprecatedHide deprecated

discountErrors ● [DiscountError!]!

DEPRECATED

Use errors field instead.

Returned By

voucherDelete mutation