Predictive Search Type
The types of search items to perform predictive search on.
Anchor to Valid valuesValid values
- ARTICLE
- COLLECTION
- PAGE
- PRODUCT
- QUERY
- Anchor to ARTICLEARTICLE
Returns matching articles.
- Anchor to COLLECTIONCOLLECTION
Returns matching collections.
- Anchor to PAGEPAGE
Returns matching pages.
- Anchor to PRODUCTPRODUCT
Returns matching products.
- Anchor to QUERYQUERY
Returns matching query strings.
Anchor to FieldsFields
- •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
productorcollectionto fetch specific resources by ID or handle. Use plural queries likeproductsorcollectionsto retrieve paginated lists with optional filtering and sorting. Thesearchandqueries enable storefront search functionality.Explore queries interactively with the GraphiQL explorer and sample query kit.