Reputation: 4902
I am integrating Shopify and Java via Rest.
Can I get Products by Metafield?
Upvotes: 1
Views: 1246
Reputation: 2861
I'm afraid you need to programatically do that on your own end in your Java application.
You should get all the products using GET /admin/products.json
, then for each product GET /admin/products/:id/metafields.json
to get every metafield associated with that product, and check on your own end which ones contain the Metafield you want to filter with.
Upvotes: 1