An API key is a program passed by the computer to a developer to identify it’s API(Application Programming Interface). API keys prevent malicious use or abuse of the API. The method to get Shopify API key varies based on whether you’re building a private app for your store or a public app for the Shopify app store.

Generating API key for a private app

To get Shopify API key for private apps, you can use the Partner dashboard. Additionally, it is possible to do it with your Shopify admin panel as well.

Creating an API key using the partner dashboard.

First login to your Partner dashboard .

Then select Development stores .

Next, select the store you want the app for.

Under Shopify admin , select apps .

Next, go to Manage private apps .

Select Generate API credentials .

Finally, enter a title of your choice.

Save your changes in the end.

Creating an API key using the Shopify admin panel.

First login to your Shopify admin panel .

Then select Apps .

Next, go to Manage private apps .

Then select Generate API credentials .

Finally, enter a title of your choice.

Save your changes in the end.

Generating Shopify API key for a public app

When you get Shopify API key for private apps, then you will be asked to generate public API credentials for the app. To generate public API keys:

First login to your Partners dashboard.

Then Choose Apps → Create app .

Next, fill out the App name and also APP URL.

Then check the “ I have read and agree to the Partner Program Agreement ”.

Click on the Create App next .

Then select Get API credentials from the App’s Overview page.

Scroll down to the API credentials to find your API key and password.

Getting existing API details

To get existing API details:

First login to your Shopify admin panel .

Then Select Apps .

Next, go to Manage Apps .

Then at the bottom of your Installed Applications page, find the text “ Are you a developer interested in creating a private application for your shop? ”, and click on the link next to it.

If this is your first visit to the page, then select Generate new application .