Hey everyone, I’m trying to fetch all the metafields inside a collections query. This is the query I’m trying to use, but the metafields array always return null.
If you wish to fetch metafields value for specific namespace and key then you use below query. You are using indentifiers that is non-recognise parameter that’s why it returns null.
I tried the query you suggested, but I get an error saying that the indentifiers is a required argument for Metafields field and that first and key are not valid arguments.
I really apologise for that the above query was for the admin API call. And if you are trying with storefront API can you please use below query. It’s 100% working and I already tested.