VoucherAddCatalogues
Adds products, categories, collections to a voucher.
Triggers the following webhook events:
- VOUCHER_UPDATED (async): A voucher was updated.
type VoucherAddCatalogues {
voucher: Voucher
discountErrors: [DiscountError!]! @deprecated
errors: [DiscountError!]!
}
Fields
VoucherAddCatalogues.voucher ● Voucher object discounts
Voucher of which catalogue IDs will be modified.
VoucherAddCatalogues.discountErrors ● [DiscountError!]! deprecated non-null object discounts
DEPRECATEDThis field will be removed in Saleor 4.0. Use
errorsfield instead.
VoucherAddCatalogues.errors ● [DiscountError!]! non-null object discounts
Returned By
voucherCataloguesAdd mutation