We have enhanced the ability to query various resources using metafield values. Now you can include Companies and Company Locations in your metafield queries. Additionally, for Products, Orders, and Metaobject entries, you can apply greater than and less than comparisons, prefix matching, and boolean operators like AND, OR, and NOT. This integration with more metafield types allows for filtering directly in queries, eliminating the need to fetch all resources and filter client-side.
This update enables Shopify Plus merchants to perform more efficient data queries, reducing overhead and speeding up operations. By bringing capabilities inline with how other resources are queried, merchants can streamline their data analysis processes, thus enhancing decision-making and adaptability in changing market conditions.
A retailer can now query products sold over a certain value using the 'greater than' filter, allowing for faster identification of high-value sales trends and inventory management insights.
Q: Can I use multiple operators in one query?
A: Yes, boolean operators such as AND and OR allow for complex query combinations.
Q: Are these capabilities available for all Shopify plans?
A: These enhancements are specifically designed for Shopify Plus merchants.
For more details on leveraging metafields, refer to Shopify's Metafield Documentation.
Need guidance? Talk to Makro.