Retrieve a product by Metafield

helidona
Excursionist
19 0 5

Hi guys,

I'm looking for the best way how to retrieve a product if I don't know the Product ID but have some info like metafields that I have saved previously when I have created that product.
Therefore, is any way how to retrieve details of a product using any specific metafield?

Looking forward to your help/advice?

Regards!

Replies 2 (2)

Gregarican
Shopify Partner
1033 86 283

I don't believe you can query products based on metafield values via the API. https://community.shopify.com/c/Shopify-Discussion/Query-all-products-with-a-given-metafield-value/t...

helidona
Excursionist
19 0 5

Hi @Gregarican,

Thank you for the reference link and answer.