Shopify has introduced two powerful new filtering capabilities in Storefront API version 2025-01: CategoryFilter and TaxonomyMetafieldFilter. These additions allow developers to filter products within collections and search results with greater precision. CategoryFilter enables filtering by category ID, while TaxonomyMetafieldFilter lets you filter products based on custom taxonomy metafield namespace, key, and value combinations.
These new filters dramatically improve the shopping experience by enabling more granular product discovery. Developers can now build smarter collection pages and search functionality that leverage both standard categories and custom taxonomy metadata, giving merchants better control over how customers browse products. This is particularly valuable for stores with complex product hierarchies or those using custom categorization systems beyond Shopify's standard category structure.
If you're building custom Storefront API applications, GetShopifyToken makes it easy to securely manage and refresh your access tokens without manual intervention. This allows you to focus on implementing these new filtering features while we handle authentication infrastructure.