Skip to main content

VoucherChannelListingUpdate Object

Manage voucher's availability in channels.

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_UPDATED (async): A voucher was updated.
type VoucherChannelListingUpdate {
voucher: Voucher
discountErrors: [DiscountError!]! @deprecated
errors: [DiscountError!]!
}

Fields

VoucherChannelListingUpdate.voucher ● Voucher object discounts

An updated voucher instance.

VoucherChannelListingUpdate.discountErrors ● [DiscountError!]! deprecated non-null object discounts

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

VoucherChannelListingUpdate.errors ● [DiscountError!]! non-null object discounts

Returned By

voucherChannelListingUpdate mutation