VoucherUpdate Object
Updates a voucher.
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 deprecatedHide deprecated
discountErrors ● [DiscountError!]!
DEPRECATED
Use errors field instead.
Returned By
voucherUpdate mutation