An access token is required to call this API. Refer to Authorization for more information about how to obtain the token.
Arguments
after ● String
Returns the elements that come after the specified cursor.
before ● String
Returns the elements that come before the specified cursor.
first ● Int
Returns up to the first n elements from the list.
last ● Int
Returns up to the last n elements from the list.
reverse ● Boolean
Reverse the order of the underlying list.
sortKey ● SearchSortKeys
Sort the underlying list by the given key.
productFilters ● [ProductFilterInput]
Returns a subset of products matching all product filters. The input must not contain more than 250 values.
rawQuery ● String
The search query.
Returns
edges ● [SearchResultItemEdge!]non-null
A list of edges.
nodes ● [Product]
A list of the nodes contained in SearchResultItemEdge.
pageInfo ● PageInfo!non-null
Information to aid in pagination.
productFilters ● [Filter]
A list of available filters.
totalCount ● Int
The total number of results.
Error Code
For more information about common error codes, refer to Status and error codes.
Was this article helpful to you?