I am creating an Oauth flow and it requires my shop id in the authorize URL https://shopify.com/<shop_id>/auth/oauth/authorize. I don’t know where to get it. I tried using the sho id that I get from shop { id } in the Graphql playground but it didn’t work. I also tried my Shopify ID that is in the URL when I am logged in to Shopify but that ID also didn’t work. Also, I think it’s important to add to the documentation where you can find this shop id because it’s not there.
Alright, I figured it out. The corre id is indeed the one you query from the graphql API "shop { id } " but an easier way to get all the info you need if you are making a headless app is to go to app > headless > customer API. There you will find all the info you need to create the auth flow.
Hi Randal - glad you figured this out and thanks for posting your solution!