Skip to main content
Anchor to PredictiveSearchType

PredictiveSearchType

enum

The types of search items to perform predictive search on.

Anchor to ARTICLEARTICLE

Returns matching articles.

Returns matching collections.

Returns matching pages.

Returns matching products.

Returns matching query strings.


Was this section helpful?

•ARGUMENT

The entry point for all Storefront API queries. Provides access to shop resources including products, collections, carts, and customer data, as well as content like articles and pages. This query acts as the public, top-level type from which all queries must start.

Use individual queries like product or collection to fetch specific resources by ID or handle. Use plural queries like products or collections to retrieve paginated lists with optional filtering and sorting. The search and predictiveSearch queries enable storefront search functionality.

Explore queries interactively with the GraphiQL explorer and sample query kit.


Was this section helpful?