Skip to main content

VoucherUpdate Object

Updates a voucher.

Requires the MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_UPDATED (async): A voucher was updated.
  • VOUCHER_CODES_CREATED (async): A voucher code was created.
type VoucherUpdate {
discountErrors: [DiscountError!]! @deprecated
errors: [DiscountError!]!
voucher: Voucher
}

Fields

errors ● [DiscountError!]!

voucher ● Voucher

Show deprecated

Returned By

voucherUpdate mutation