Description

This article explains how to obtain API Secret key from Shopify.

Detail Steps

Developer need to login into Shopify Partner page as screen below:

Figure 6: Shopify Partner Login


This is for Develop used only, the login details:

User Id: hugo.lim@datapel.com

Password: d@t@p3l

Figure 7: Shopify Partner Main Page

Click on “Datapel Shopify Link” App to proceed to get the App info.


Figure 8a: “Datapel Shopify Link” App page

Scroll down for more information.

Figure 8b: “Datapel Shopify Link” App page – API Key

Copy the API Key and enter into Shopify app.config as the Shopify Client Secret (Shopify.CS)

This client secret is required to use to generate the token whenever required.

<add key="Shopify.CS" value="a2eae816291643c0de84bc94f322daeb" />

<add key="Shopify.Scope" value="write_customers,write_products,write_orders,write_shipping"/>

<add key="Shopify.UserName" value="hugo.lim@datapel.com"/>

<add key="Shopify.Password" value="d@t@p3l"/>

<add key="Shopify.Shopname" value="datapel-system-test-store"/>

<add key="Shopify.BaseUri" value="https://{0}.myshopify.com"/>


Next, make sure that the configuration give about in config file are filled up correctly.


NOTE:

Please ensure the “Shopify.CS” and “Shopify.Scope” configurations are available, this is a MUST to auto regenerate the API token file “oauthState.json”

Related Information

None