sales
List of the shop's sales.
sales(
filter: SaleFilterInput
sortBy: SaleSortingInput
query: String
channel: String
before: String
after: String
first: Int
last: Int
): SaleCountableConnection
Arguments
sales.filter ● SaleFilterInput input
Filtering options for sales.
sales.sortBy ● SaleSortingInput input
Sort sales.
sales.query ● String scalar
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
Slug of a channel for which the data should be returned.
sales.before ● String scalar
Return the elements in the list that come before the specified cursor.
sales.after ● String scalar
Return the elements in the list that come after the specified cursor.
sales.first ● Int scalar
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
Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.
Type
SaleCountableConnection object
Was this page helpful?