Skip to main content

voucherChannelListingUpdate Mutation

Manage voucher's availability in channels.

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_UPDATED (async): A voucher was updated.
voucherChannelListingUpdate(
id: ID!
input: VoucherChannelListingInput!
): VoucherChannelListingUpdate

Arguments

voucherChannelListingUpdate.id ● ID! non-null scalar miscellaneous

ID of a voucher to update.

voucherChannelListingUpdate.input ● VoucherChannelListingInput! non-null input discounts

Fields required to update voucher channel listings.

Type

VoucherChannelListingUpdate object discounts

Manage voucher's availability in channels.

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_UPDATED (async): A voucher was updated.