Skip to main content

voucherCataloguesRemove Mutation

Removes products, categories, collections from a voucher.

Requires the MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

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

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.

Requires the MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_UPDATED (async): A voucher was updated.