Skip to main content
Version: 3.x

VoucherUpdate

Updates a voucher.

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

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

Fields

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

DEPRECATED

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

VoucherUpdate.errors ● [DiscountError!]! non-null object

VoucherUpdate.voucher ● Voucher object

Returned by

voucherUpdate mutation


Was this page helpful?