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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

VoucherDelete Object

Deletes a voucher.

Requires one of the following permissions:MANAGE_DISCOUNTS

Triggers the following webhook events:

  • VOUCHER_DELETED (async): A voucher was deleted.

Applied directives

@webhookEventsInfo(asyncEvents: [VOUCHER_DELETED], syncEvents: [])
type VoucherDelete {
  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?