← All Shopify Updates
Shopify Update · Published June 10, 2026 · Source: New `collection_id` filter added to `products` query filters

Shopify Adds collection_id Filter to Products Query in 2026 GraphQL API

What Changed

Shopify has introduced a new collection_id filter to the products query in the GraphQL Admin API (version 2024-10 and later). This filter enables developers to efficiently retrieve all products belonging to a specific collection without additional processing. The new filter works seamlessly alongside existing filters like created_at, updated_at, published_at, product_type, vendor, and others.

Why This Matters

Previously, developers had to retrieve all products and filter them client-side or use workarounds to identify collection membership. This new filter reduces API calls and improves query performance, making it faster to build features that depend on collection data—like category pages, collection-specific recommendations, or bulk operations. For stores with thousands of products, this optimization can significantly reduce load times and API costs.

What You Should Do

How GetShopifyToken Helps

When implementing these optimized GraphQL queries, you'll need secure access tokens to authenticate with Shopify's API. GetShopifyToken streamlines the OAuth process, ensuring you can quickly obtain and manage the access tokens required to use the new collection_id filter and other Admin API features.

← More Shopify Updates