Skip to main content
Version: 3.x

voucher

Look up a voucher by ID.

Requires MANAGE_DISCOUNTSpermission.
voucher(
id: ID!
channel: String
): Voucher

Arguments

voucher.id ● ID! non-null scalar

ID of the voucher.

voucher.channel ● String scalar

Slug of a channel for which the data should be returned.

Type

Voucher object

Vouchers allow giving discounts to particular customers on categories, collections or specific products. They can be used during checkout by providing valid voucher codes.


Was this page helpful?