--- title: QueryRoot - Storefront API description: > 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`](/docs/api/storefront/unstable/queries/product) or [`collection`](/docs/api/storefront/unstable/queries/collection) to fetch specific resources by ID or handle. Use plural queries like [`products`](/docs/api/storefront/unstable/queries/products) or [`collections`](/docs/api/storefront/unstable/queries/collections) to retrieve paginated lists with optional filtering and sorting. The [`search`](/docs/api/storefront/unstable/queries/search) and [`predictiveSearch`](/docs/api/storefront/unstable/queries/predictiveSearch) queries enable storefront search functionality. Explore queries interactively with the [GraphiQL explorer and sample query kit](https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/api-exploration). api_version: unstable api_name: storefront source_url: html: 'https://shopify.dev/docs/api/storefront/unstable/objects/QueryRoot' md: 'https://shopify.dev/docs/api/storefront/unstable/objects/QueryRoot.md' --- # Query​Root object 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`](https://shopify.dev/docs/api/storefront/unstable/queries/product) or [`collection`](https://shopify.dev/docs/api/storefront/unstable/queries/collection) to fetch specific resources by ID or handle. Use plural queries like [`products`](https://shopify.dev/docs/api/storefront/unstable/queries/products) or [`collections`](https://shopify.dev/docs/api/storefront/unstable/queries/collections) to retrieve paginated lists with optional filtering and sorting. The [`search`](https://shopify.dev/docs/api/storefront/unstable/queries/search) and [`predictiveSearch`](https://shopify.dev/docs/api/storefront/unstable/queries/predictiveSearch) queries enable storefront search functionality. Explore queries interactively with the [GraphiQL explorer and sample query kit](https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/api-exploration). ## Map No referencing types