Get items by metafield values

Get items by metafield values

IgorGorkov
Shopify Partner
4 0 0

There is a need to select products using the Admin API based on the value of a metafield. On the storefront, this is done using filter.p.m.somens.field1=value. It is also possible to do this within the Shopify admin interface (The 'Use as filter in admin' option is enabled, path /products?selectedView=all&metafields.somens.field1=value). Is it possible to achieve this programmatically?

Replies 0 (0)