Skip to main content

voucherCataloguesAdd Mutation

Adds products, categories, collections to a voucher.

Requires the MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

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

Arguments

id ● ID!

ID of a voucher.

input ● CatalogueInput!

Fields required to modify catalogue IDs of voucher.

Type

VoucherAddCatalogues

Adds products, categories, collections to a voucher.

Requires the MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_UPDATED (async): A voucher was updated.