Before you can pull commerce data from companies using Shopify, you need to set up an integration in Codat's environments, starting with UAT.
You'll need to:
- Login to the Codat Portal in UAT.
- Create a Shopify application in the Shopify developer portal and retrieve your secure credentials (API key and secret).
- Send your app to Shopify for approval.
- Add your secure credentials to the Codat Portal in UAT and enable your test Shopify integration.
- Check your sync settings.
Shopify's app requirements
All public applications created in Shopify must meet Shopify's requirements and be approved by Shopify. Please be advised that it may take the Shopify Review team up to 2 weeks to review your app.
As part of Shopify's app requirements, Codat clients wishing to access more than 60 days of orders must make a separate request to do so (see below). Please be advised that it may take up to 7 business days for Shopify to process your request.
Please note Codat cannot guarantee that access to order data is granted or that your app is approved by Shopify.
Developer account details
If you already have a Shopify developer account, have your account details to hand.
If you don't, create an account before you start to create your application.
- Go to the Shopify developer portal and log in.
- Click Apps, then Create app, and choose Public app. Although your app will be public, you can choose whether you want it to be listed (fully visible in the Shopify App Store) or unlisted (it will not appear in Shopify App Store search engines or results, but will have a Shopify App Store URL). To change this setting go to App visibility.
- Fill in your app details (note that your app name and URL cannot contain "Shopify"):
- App name
- App URL - this should be the same URL that you submit to Shopify in the next step
- In the Redirection URLs box, enter the following url:
- Click Create app. You should now see the API key and API secret key of your app in the API keys section. You will use these to link the app to the Codat Portal.
- Click App setup.
- If you require more than 60 days of order data: in the Orders section, click Request access to send a request to Shopify to access all orders for your store. You will receive an email from Shopify once the request has been processed, which may take up to 7 business days.
- Scroll to GDPR mandatory webhooks and enter the following URLs:
Customer data request endpoint:
Customer data erasure endpoint:
Shop data erasure endpoint:
- Save your changes.
- Go to your app dashboard and click App listing.
- Under App visibility choose the English listing section, fill out the required application details and save your changes.
- On the App listing page click Submit app to send it to Shopify for review and approval. Note that the review might take up to two weeks.
- Open the Codat Portal and log in.
- Go to Integrations > Commerce.
- Find Shopify, and select the Manage button next to it.
- From the API keys page on the Shopify developer portal, copy and paste:
- API key value into Client Key
- API secret key value into Client Secret.
- If you have requested access to all orders (see step 6 in 'Create a Shopify application and retrieve your secure credentials') ensure that the toggle to 'Request to read all orders' is switched on. If you have not requested the additional access please ensure this toggle is off.
- In the Codat Portal, click Save.
- Go back to Integrations > Commerce, and use the toggle to update the Shopify integration from Disabled to Enabled.
If this is your first commerce integration, update your sync settings to enable commerce data types.
Now follow the instructions in Test Shopify to test your setup.
Updated about 1 month ago