vouchers
List of the shop's vouchers.
vouchers(
filter: VoucherFilterInput
sortBy: VoucherSortingInput
query: String
channel: String
before: String
after: String
first: Int
last: Int
): VoucherCountableConnection
Arguments
vouchers.filter ● VoucherFilterInput input discounts
Filtering options for vouchers.
vouchers.sortBy ● VoucherSortingInput input discounts
Sort voucher.
vouchers.query ● String scalar miscellaneous
Search vouchers by name or code.
DEPRECATED: this field will be removed in Saleor 4.0. Use
filter.searchinput instead.
vouchers.channel ● String scalar miscellaneous
Slug of a channel for which the data should be returned.
vouchers.before ● String scalar miscellaneous
Return the elements in the list that come before the specified cursor.
vouchers.after ● String scalar miscellaneous
Return the elements in the list that come after the specified cursor.
vouchers.first ● Int scalar miscellaneous
Retrieve the first n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.
vouchers.last ● Int scalar miscellaneous
Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.