This article only covers the Shopify specific setup, for the full setup use Setting up a new Webstore
Configure Custom App in Shopify
- Log in to your Shopify admin portal / backend.
This is done by going to https://www.shopify.com/login and entering your username and password. - Click on Settings on the left.
- Cick on Apps and Sales Channels on the left.
- Click on Develop Apps on the top right. Then, click Allow Custom App Development if it appears. Confirm, if it asks.
- Click on Create an App .
- In Title , type in a name for the private app eg. Retailer Link .This is only for identification purposes.
- Click Create App .
- Click on Configure Admin API Scopes .
- Under Admin API access scopes , tick all the boxes that say read or write. These give the link permissions to update the website.
- Under Webhook Subscriptions , make sure the Latest version is selected. Click Save at the bottom.
- Click on API Credentials near the top.
- Copy or note down the API key and the API secret key into a document like Notepad. You will need it later.
- Click Install App under Access tokens. Confirm by clicking Install .
- In the new line that appears, click Reveal Token once and copy or note down the revealed code. You can only do this once so make sure you have it recorded before continuing.
Setup Customer Checkout options
- On Shopify, go to Settings > Checkout
- In Customer Contact, select Customers can only check out using email.
Setup Sales Export
- Login to Shopify admin panel, then click Settings from the bottom right
- Click Notifications from the Settings page, and scroll down to the bottom of the page, find Webhooks section
- Click Create Webhook button, from the popup, make sure you choose Order Creation as Event, select JSON from the Format field, use the following URL as Webhook URL
URL
https://eccserver.towersystems.com.au/shopify-connector/webhooks/receive-sale
Select (Latest) from the Webhook API version dropdown then click Save
Do NOT click on the Webhook TEST button.