voucher Query
Look up a voucher by ID.
voucher(
id: ID!
channel: String
): Voucher
Arguments
voucher.id
● ID!
non-null scalar miscellaneous
ID of the voucher.
voucher.channel
● String
scalar miscellaneous
Slug of a channel for which the data should be returned.
Type
Voucher
object discounts
Vouchers allow giving discounts to particular customers on categories, collections or specific products. They can be used during checkout by providing valid voucher codes.