Skip to main content
query

List of the search results.

Anchor to Arguments

SearchResultItemConnection arguments

•SearchResultItemConnection!
•String

Returns the elements that come after the specified cursor.

•String

Returns the elements that come before the specified cursor.

•Int

Returns up to the first n elements from the list.

•Int

Returns up to the last n elements from the list.

•SearchPrefixQueryType

Specifies whether to perform a partial word match on the last search term.

•[ProductFilter!]

Returns a subset of products matching all product filters.

The input must not contain more than 250 values.

•String!required

The search query.

•BooleanDefault:false

Reverse the order of the underlying list.

•SearchSortKeysDefault:RELEVANCE

Sort the underlying list by the given key.

•[SearchType!]

The types of resources to search for.

The input must not contain more than 250 values.

•SearchUnavailableProductsType

Specifies how unavailable products or variants are displayed in the search results.


Was this section helpful?

•[SearchResultItemEdge!]!non-null

A list of edges.

•[SearchResultItem!]!non-null

A list of the nodes contained in SearchResultItemEdge.

•PageInfo!non-null

Information to aid in pagination.

•[Filter!]!non-null

A list of available filters.

•Int!non-null

The total number of results.


Was this section helpful?