Hello all. I’ve been a REST API used in the past and now have to build a tool to query my new store using graphQL.
I am making progress on the query structure and language (using the Shopify GraphiQL app) but I think I got sidetracked with the idea of having to create a full custom app which seems to complicate things significantly for me (I am NOT an ‘App’ developer as such).
I’ve now installed the ‘Headless’ app which I think I understand allows me to query information via graphQL without the need for a full custom app and seems like a more direct replacement for the REST access I used to have implemented in a previous store (ages ago)
I want to sense check that assumption with the community before I get sidetracked again.
My plan would be to define a headless app and query via curl for the simple requirement that I have (looking up products and variants for basic information and SKUs, barcodes). Once that is up and running I should be able to tinker with querying the correct data using something like curl.
Have I got this correct ?
I am asking also because I was a little alarmed by the notes in the Storefront API permissions section.
“unauthenticated_read_product_listings” etc.
Am I reading that correctly. ‘unauthenticated’ as in literally anyone can query OR would someone still need the Public access token and / or Private access token details before they can query?
I understand that the details I need to query like products and variants is already largely available via the stores public web pages but still wanted to ask.
Can I also assume that a headless app wouldn’t allow me to update a product using the same CURL method? I don’t think I need that today, but I certainly used to use REST to do that from time to time.
Any pointers / comments welcomed.
Thanks
Dave