Adding [owner_resource]=product as a parameter to the query should filter the results to only give you products, so your query looks okay. Could you try the same curl GET request in terminal instead of Postman to see if there’s something on Postmans side that is preventing the owner resource parameter from working?
GET "https://your-development-store.myshopify.com/admin/api/2023-10/metafields.json?metafield%5Bowner_id%5D=382285388&metafield%5Bowner_resource%5D=product" \
I’m not familiar with the graphQL version so it would be helpful if you could provide a sample curl I can paste to Postman to save time - but regardless I’ll check it out and get back to you.
Unfortunately, our integration only uses the REST version of Shopify right now. Were you able to get any insights on why this filter does not work? Any help would be greatly appreciated.
Like Adverity and like Palakpatel I would like to use the metafields.json endpoint of the REST API. I am experiencing the same problems already mentioned. Also this discussion seems to be no longer followed up on.
Should we conclude that the REST API is deprecated?
Or: the endpoint we would like to use is deprecated?