Skip to main content

voucherCataloguesRemove Mutation

Removes products, categories, collections from a voucher.

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_UPDATED (async): A voucher was updated.
voucherCataloguesRemove(
id: ID!
input: CatalogueInput!
): VoucherRemoveCatalogues

Arguments

voucherCataloguesRemove.id ● ID! non-null scalar miscellaneous

ID of a voucher.

voucherCataloguesRemove.input ● CatalogueInput! non-null input discounts

Fields required to modify catalogue IDs of voucher.

Type

VoucherRemoveCatalogues object discounts

Removes products, categories, collections from a voucher.

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_UPDATED (async): A voucher was updated.