Create API in shopify public app and call it in postman

Create API in shopify public app and call it in postman

Faateh
Shopify Partner
17 0 1

I created shopify public app using yarn create @Shopify/app. I get nodejs code template will oAuth process and session token. Following is the API that i created in shopify public app. 


problem1.png

 

Now when I call this API in postman I get the following error

problem2.png

 

I am unable to find out that how to give shop name and where do I get shop name and access_token? And I wanted to ask that is it possible to call API which is created in shopify public app in other software? It would act as a third party integration. Kindly someone guide me.

Replies 2 (2)

VO1D
Shopify Partner
6 0 0

I'm stuck on the same thing. Can someone please help?

VO1D
Shopify Partner
6 0 0

I have a solution: Check a file name database.sqlite in your folder structure (/web/database.sqlite) open that file and from there you can copy paste the access_token.