Skip to main content
Version: 3.x

voucherCataloguesAdd

Adds products, categories, collections to a voucher.

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

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

Arguments

voucherCataloguesAdd.id ● ID! non-null scalar

ID of a voucher.

voucherCataloguesAdd.input ● CatalogueInput! non-null input

Fields required to modify catalogue IDs of voucher.

Type

VoucherAddCatalogues object

Adds products, categories, collections to a voucher.

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_UPDATED (async): A voucher was updated.

Was this page helpful?