theodm
1
Hi,
I am trying to query and filter metaobjects using the storefront API.
Documentation cleary state this can be done using “query“ argument: Query by metafield value
But looking at the graphql API reference, query argument those not seems to be available.
Is the previously documentation incorrect ?
Thanks
Luke
2
The query argument is only available when using the Admin API for metaobjects
theodm
3
That is what I though but looking at the documentation at Query by metafield value
The mentionned API url is https://{shop}.myshopify.com/api/{api_version}/graphql.json
Which is the storefront API and not the admin API, that might be an error that should be corrected for future users.
Luke
4
Yes I would take that with a pinch of salt, the documentation isn’t perfect and has mistakes.