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.
Applied directives
@webhookEventsInfo(asyncEvents: [VOUCHER_UPDATED, VOUCHER_CODES_CREATED], syncEvents: [])
type VoucherUpdate {
discountErrors: [DiscountError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [DiscountError!]!
voucher: Voucher
}
Fields
discountErrors
discountErrors · [DiscountError!]!
errors
errors · [DiscountError!]!
voucher
voucher · Voucher
Used by
Schema: Saleor 3.23.43. Download SDL.