Guiding you how to create a custom app to connect IR to your Shopify store
Please note that as of January 2022, Private Apps have been deprecated within Shopify and Custom Apps should be used in their place.
Create the app
-
From your Shopify admin, go to Apps. Or alternatively go to Settings in the bottom left
- Click Apps and sales Channels
-
Click Develop apps.
-
Click Create an app.
-
In the modal window, enter the App name and select an App developer. The app developer can be the store owner, or any staff or collaborator account with the Develop apps permission.
-
Click Create app.
Select API scopes
After you create a custom app, you can assign API scopes to it. A custom app can have Admin API scopes, Storefront API scopes, or both, depending on the requirements of the app.
-
Click Configure Admin API scopes.
-
In the Admin API access scopes section, select the API scopes that you to assign to the app.
- This should include all 'Product' scopes but at minimum Product, Product Variants, Collections and Inventory
- We would also require Locations scope
- If Order Management is required, please also add scopes for Orders, Transactions, Fulfilments and Customer Details.
- This should include all 'Product' scopes but at minimum Product, Product Variants, Collections and Inventory
-
Click Save.
Install the app and get the API access tokens
After you've set API scopes for your app, you can install the app. You'll get your API access tokens after you install.
-
Navigate to API Credentials and click Install App
-
In the modal window, click Install app.
-
This will then give you the access token for the Admin API
You can see the Admin API access token on this page only one time, because the token provides API access to sensitive store data. After revealing the access token, write down or record the token somewhere secure so that you can refer to it again, as you will not be able to view this token again, if you lose or forget your token before you have shared this with us then you will need to set up the custom app again and delete the old one. Treat the token like a password. Share the access token only with developers that you trust.
Get the API credentials for a custom app
You can check the Storefront access token, the API key, and the API secret for a custom app from the app's API credentials page. You can also check the Admin API access token, but after revealing it once, you can only check the last four digits of the token.
-
From your Shopify admin, go to Apps.
-
Click Develop apps.
-
Click the name of the app that you want the credentials for.
-
Click API credentials.
- Send the below information back to your CSM or Enablement Manager.
Access token:
Api Key :
Api secret :
Admin URL (will look like this https://STORE-NAME.myshopify.com/) :
If you are using the Metafields within Shopify for some of your product details then please let us know, we will ask you to set up a second set of credentials in the same way that you created them above.
If you are using Shopify Markets to separate out your regions then we will ask for another set of credentials, again set up in the same way as above but with the addition of the Translations scope so that we can pull through any translated product data.
Comments
0 comments
Article is closed for comments.