Skip to main content
Version: 3.x

voucherUpdate

Updates a voucher.

Requires one of the following permissions: MANAGE_DISCOUNTS.

voucherUpdate(
id: ID!
input: VoucherInput!
): VoucherUpdate

Arguments

id (ID!)

ID of a voucher to update.

input (VoucherInput!)

Fields required to update a voucher.

Type

VoucherUpdate

Updates a voucher.

Requires one of the following permissions: MANAGE_DISCOUNTS.