Skip to main content
Version: 3.x

voucher

Look up a voucher by ID.

Requires one of the following permissions: MANAGE_DISCOUNTS.

voucher(
id: ID!
channel: String
): Voucher

Arguments

id (ID!)

ID of the voucher.

channel (String)

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

Type

Voucher

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