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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

voucherCataloguesAdd Mutation

Adds products, categories, collections to a voucher.

Requires one of the following permissions:MANAGE_DISCOUNTS

Triggers the following webhook events:

  • VOUCHER_UPDATED (async): A voucher was updated.

Applied directives

@webhookEventsInfo(asyncEvents: [VOUCHER_UPDATED], syncEvents: [])
voucherCataloguesAdd(id: ID!, input: CatalogueInput!): VoucherAddCatalogues

Returns

VoucherAddCatalogues

Show return type
type VoucherAddCatalogues {
  voucher: Voucher
  discountErrors: [DiscountError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [DiscountError!]!
}

Arguments

id

id · ID!

ID of a voucher.

input

input · CatalogueInput!

Fields required to modify catalogue IDs of voucher.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?