voucherCataloguesRemove Mutation
Removes products, categories, collections from a voucher.
Triggers the following webhook events:
- VOUCHER_UPDATED (async): A voucher was updated.
voucherCataloguesRemove(
id: ID!
input: CatalogueInput!
): VoucherRemoveCatalogues
Details
type VoucherRemoveCatalogues {
voucher: Voucher
discountErrors: [DiscountError!]! @deprecated
errors: [DiscountError!]!
}
Arguments
id ● ID!
ID of a voucher.
input ● CatalogueInput!
Fields required to modify catalogue IDs of voucher.
Type
VoucherRemoveCatalogues
Removes products, categories, collections from a voucher.
Triggers the following webhook events:
- VOUCHER_UPDATED (async): A voucher was updated.