voucher Query
Look up a voucher by ID.
voucher(
id: ID!
channel: String
): Voucher
Show return type
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.