vouchers
List of the shop's vouchers.
vouchers(
filter: VoucherFilterInput
sortBy: VoucherSortingInput
query: String
productId: ID
variantId: ID
before: String
after: String
first: Int
last: Int
): VoucherCountableConnection
Arguments
vouchers.filter ● VoucherFilterInput input
Filtering options for vouchers.
vouchers.sortBy ● VoucherSortingInput input
Sort voucher.
vouchers.query ● String scalar
Search vouchers by name or code.
vouchers.productId ● ID scalar
ID of product to filter vouchers on
vouchers.variantId ● ID scalar
ID of variant to filter vouchers on
vouchers.before ● String scalar
Return the elements in the list that come before the specified cursor.
vouchers.after ● String scalar
Return the elements in the list that come after the specified cursor.
vouchers.first ● Int scalar
Return the first n elements from the list.
vouchers.last ● Int scalar
Return the last n elements from the list.