Skip to main content
Version: Canary 🚧

voucherCreate

Creates a new voucher.

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_CREATED (async): A voucher was created.
voucherCreate(
input: VoucherInput!
): VoucherCreate

Arguments

voucherCreate.input ● VoucherInput! non-null input

Fields required to create a voucher.

Type

VoucherCreate object

Creates a new voucher.

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_CREATED (async): A voucher was created.

Was this page helpful?