To find out the public JSON urls
Some urls show and provide JSON, I am using them as an external API from a purchase related project.
These include:
https://shopname.myshopify.com/products.json
https://shopname.myshopify.com/products/HANDLE.json
https://shopname.myshopify.com/cart.json
I found them while browsing the Shopify docs and tutorials ... Since I couldn't find any document I was wondering if anyone knows where to look?
Or at least if there is JSON somewhere related to the user's registration state.
So my point is, how can I tell if a user viewing my site is logged in to a specific Shopify store?
source to share
Just so you know, I didn't get a response from the main forum shopify, so I got around this issue by using cross-domain cookies .
I needed to know from my other site if the user is registered with Shopify.
So, I added JS to see that based on Liquid it sets a cookie with the logged in user.
source to share