1. Log in to your Shopify back office, then go to “Settings”:
2. Go to “Apps”, “Build Apps”, and then “Learn More”:
3. A new tab will open; click “Go to Dev Dashboard”:
4. In the Dev Dashboard, click “Create app”:
Then enter a name for your app in the text field under “App name”:
5. Go to the “Versions” section, then click “Select scopes”; a pop-up will appear:
6. In this pop-up, check all the boxes:
Then click “Done” to close the pop-up, and finally click the “Release” button at the top or bottom of the page.
Name the version if you wish (optional):
7. Go to the “Home” section, then click “Install app”:
8. A new tab will open; select your store:
9. Click “Install”:
To verify that your app is installed correctly, return to the Dev Dashboard: the number of apps will then change from “0” to “1.”
10. Go to “Settings”, where you’ll find your Client ID and Secret ID:
Warning: These keys are strictly confidential and are equivalent to a password that grants full access to your Admin API. Under no circumstances should you share them with anyone.
You don't need to do anything else on the Shopify side.
Obtain your Admin API Access Token to enter it into Happy-Post
To obtain your Shopify Admin API Access Token via a cURL request, you must run the command in an environment capable of sending HTTP requests.
Step 1: Open a terminal (such as the Command Prompt (CMD)):
Step 2: Paste the cURL command, but only after replacing the values within the curly brackets:
| curl --location "https://{myshop}.myshopify.com/admin/oauth/access_token" ^ --form "grant_type=client_credentials" ^ --form "client_id={client_id}" ^ --form "client_secret={client_secret}" |
Replace:
- {myshop} → the name of your shop
- {client_id} → your API key
- {client_secret} → your API secret key
Step 3: Run the command
Press ‘Enter’. You will receive a response like this:
{
‘access_token’: ‘shpca_xxxxxxxx’,
“scope”: ‘write_customers,write_orders’,
‘expires_in’: 86399
}
…
Step 4: Copy the access_token
It is this value (shpca_...) that you need to copy and paste into your Happy-Post account, under the ‘E-commerce shops’ section, to connect your Shopify shop:
Your Shopify shop is connected to Happy-Post.
Comments
0 comments
Article is closed for comments.