Skip to main content

Queries

Arguments must be provided by the user.

Arguments preeceded by an exclamation mark (!) are not nullable.

Product​

FieldArgumentTypeDescription
productStoreProduct!

Returns the details of a product based on the specified locator.

locator[IStoreSelectedFacet!]!An array of selected search facets.
allProductsStoreProductConnection!

Returns information about all products.

firstInt!Product pagination argument, indicating how many items should be returned from the complete result list.
afterStringProduct pagination argument, indicating the cursor corresponding with the item after which the results should be fetched.

Collection​

FieldArgumentTypeDescription
collectionStoreCollection!

Returns the details of a collection based on the collection slug.

slugString!Collection slug.
allCollectionsStoreCollectionConnection!

Returns information about all collections.

firstInt!Collection pagination argument, indicating how many items should be returned from the complete result list.
afterStringCollection pagination argument, indicating the cursor corresponding with the item after which the items should be fetched.
FieldArgumentTypeDescription
searchStoreSearchResult!

Returns the result of a product, facet, or suggestion search.

firstInt!Search pagination argument, indicating how many results should be returned from the complete result list.
afterStringSearch pagination argument, indicating the cursor corresponding with the item after which the results should be fetched.
sortStoreSortSearch results sorting mode.
termStringSearch term.

Didn't find your answers? Ask the Community. For documentation suggestions, submit your feedback.

JOIN THE COMMUNITY

ON THIS PAGE