Skip to main content

VoucherAddCatalogues

Adds products, categories, collections to a voucher.

Requires MANAGE_DISCOUNTSpermission.
type VoucherAddCatalogues {
voucher: Voucher
discountErrors: [DiscountError!]! @deprecated
errors: [DiscountError!]!
}

Fields

VoucherAddCatalogues.voucher ● Voucher object

Voucher of which catalogue IDs will be modified.

VoucherAddCatalogues.discountErrors ● [DiscountError!]! deprecated non-null object

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

VoucherAddCatalogues.errors ● [DiscountError!]! non-null object

Returned by

voucherCataloguesAdd mutation


Was this page helpful?