Skip to main content

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 miscellaneous

ID of a voucher.

voucherCataloguesAdd.input ● CatalogueInput! non-null input discounts

Fields required to modify catalogue IDs of voucher.

Type

VoucherAddCatalogues object discounts

Adds products, categories, collections to a voucher.

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_UPDATED (async): A voucher was updated.