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.
voucherUpdate(
id: ID!
input: VoucherInput!
): VoucherUpdate

Arguments

voucherUpdate.id ● ID! non-null scalar

ID of a voucher to update.

voucherUpdate.input ● VoucherInput! non-null input

Fields required to update a voucher.

Type

VoucherUpdate object

Updates a voucher.

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_UPDATED (async): A voucher was updated.

Was this page helpful?