Skip to main content

VoucherRemoveCatalogues Object

Removes products, categories, collections from a voucher.

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_UPDATED (async): A voucher was updated.
type VoucherRemoveCatalogues {
voucher: Voucher
discountErrors: [DiscountError!]! @deprecated
errors: [DiscountError!]!
}

Fields

VoucherRemoveCatalogues.voucher ● Voucher object discounts

Voucher of which catalogue IDs will be modified.

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

DEPRECATED

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

VoucherRemoveCatalogues.errors ● [DiscountError!]! non-null object discounts

Returned By

voucherCataloguesRemove mutation