Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

VoucherUpdate Object

Updates a voucher.

Requires one of the following permissions:MANAGE_DISCOUNTS

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.

Last updated on April 13, 2026

Was this page helpful?