Hello everyone,
I’m developing a Shopify app focused on optimizing product images, including features like resize and compression. In my app, I use Shopify GraphQL Admin API to query product lists (reference: products - GraphQL Admin).
I’m wondering if it’s possible to add custom filtering to my queries. Specifically, after processing an image (e.g., resize or compression), I want to add a tag or identifier to the image (such as using metafields
). This way, in future queries, I can filter out images that have already been processed.
I’ve tried adding metafields
to the images or products, but it seems like there’s no way to directly filter based on metafields
in the queries. Is there a method to filter by metafields
, or any other solutions that can achieve this?
If anyone has any experience or suggestions, I’d greatly appreciate it! Thanks in advance!