Customer Queries with Metafield Value as Filter

Shopify Partner
1 0 1



I was wondering if there was a way to query Customers, depending on their custom Metafield values.


I see that this is possible (and incredibly quick and easy I must say) while creating a customer segment. So I can see that internally shopify is able to query customer metafields and use that as a segment definition and show all the customers that fit the criteria, based on the filter that I set in this screen.


Screenshot 2024-04-29 at 14.20.28.png

Is there a way to access this API? I dont see it anywhere in default admin api documentation for querying customers.



Replies 0 (0)