VoucherUpdate
Updates a voucher.
Triggers the following webhook events:
- VOUCHER_UPDATED (async): A voucher was updated.
type VoucherUpdate {
discountErrors: [DiscountError!]! @deprecated
errors: [DiscountError!]!
voucher: Voucher
}
Fields
VoucherUpdate.discountErrors
● [DiscountError!]!
deprecated non-null object
DEPRECATEDThis field will be removed in Saleor 4.0. Use
errors
field instead.
VoucherUpdate.errors
● [DiscountError!]!
non-null object
VoucherUpdate.voucher
● Voucher
object
Returned by
voucherUpdate
mutation