Is it possible to call shopify admin API outside shopify environment?

My company would like me to call the shopify admin API to retrieve a list of our Products to add to our reporting database, daily.

I read the shopify documentation but it looks like the endpoints are only accessible within shopify Apps.

The endpoint would be

curl -X GET “https://your-development-store.myshopify.com/admin/api/2023-07/products.json
-H “X-Shopify-Access-Token: {access_token}”

Is it possible to call above URL from outside the shopify app environment? If so, how could I generate an access_token to use, please?

Hi Maccinelli,

You should be able to externally call the Admin API by creating an app from within the Shopify store, which will give you an API key and let you create access tokens. If you navigate to Settings > App & Sales Channels and select “Develop apps” > Create an app and when you create an app there will be a tap for API credentials where you can access an API key and configure the scopes you need - likely read_products and possibly some others if required.

Hope this helps!