richersoon
richersoon

Reputation: 4902

Shopify Rest Api - How to get Products by Metafield?

I am integrating Shopify and Java via Rest.

Can I get Products by Metafield?

Upvotes: 1

Views: 1246

Answers (1)

Juan Ferreras
Juan Ferreras

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

Related Questions