sales
DEPRECATED
This field will be removed in Saleor 4.0. Use the promotions query instead.
List of the shop's sales.
sales(
filter: SaleFilterInput
sortBy: SaleSortingInput
query: String
channel: String
before: String
after: String
first: Int
last: Int
): SaleCountableConnection @deprecated
Arguments
sales.filter ● SaleFilterInput input discounts
Filtering options for sales.
sales.sortBy ● SaleSortingInput input discounts
Sort sales.
sales.query ● String scalar miscellaneous
Search sales by name, value or type.
DEPRECATED: this field will be removed in Saleor 4.0. Use
filter.searchinput instead.
sales.channel ● String scalar miscellaneous
Slug of a channel for which the data should be returned.
sales.before ● String scalar miscellaneous
Return the elements in the list that come before the specified cursor.
sales.after ● String scalar miscellaneous
Return the elements in the list that come after the specified cursor.
sales.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.
sales.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.