Test your Shopify integration
Test your Shopify integration by reading sample data to a test company
Test your Shopify integration by reading commerce data from a Development Store to a test company in Codat. This lets you test the Link flow that your SMB customers will see when they share their commerce data from Shopify.
Prerequisites
- Set up your Shopify integration using either the custom apps or public apps connection method.
- Update your Commerce data type settings to enable commerce data types.
Add a test company
In the Codat Portal:
- Click Companies > New company.
- In the Add new company dialog, enter a name for your test company, like
shopify-test
, then click Add. The Link URL for your test company is displayed.
Keep the Companies page open in your browser.
Create a Development Store and sample data
-
Log in to the Shopify Partners site with your partner account credentials.
-
Select Stores > Add store.
-
On the Add store page, select Development store.
-
Enter all the requested details and make a note of the Store URL.
Ensure the Create store with transfer disabled to use a developer preview checkbox is selected, and then choose Shopify Markets from the dropdown list:
-
Click Save.
Next, you need to manually add some sample data to your Development Store. For example, add some products and orders.
Connect your test company to your Development Store
Test the authorization process that your customers will see when they connect their Shopify account using Link.
In the Codat Portal:
-
Click Companies then locate the test company you created in the preceding task.
-
Next to the company name, click Request data.
-
In the Onboarding dialog, copy the Link URL.
-
Paste the Link URL into a new browser tab to load Link.
The following steps apply if you're using public apps. If you're using custom apps, go to step six.
-
Complete the steps in Link; the exact steps shown depend on your Link settings. You'll need to:
- When asked to select your commerce software, select the Shopify tile.
- Authorize access to the listed commerce data types.
- On the Shopify screen, enter the name of your Development Store then click Continue.
- Log in to your Development Store, if prompted.
When the Link flow is complete, your Development Store opens and your app is automatically installed into the Store.
-
(If using custom apps.) Complete the steps in Link; the exact steps shown depend on your Link settings. You'll need to:
- On the Connect your Shopify store screen, enter the name of your Development Store and your API Access Token, then click Continue.
When the Link flow is complete, your Development Store opens and your custom app is automatically installed into the Store.
Retrieve commerce data
In the Codat Portal, read sample commerce data from Shopify to your test company:
-
Click Companies then select the test company you created in the preceding task.
-
Click Data > Commerce in the side navigation menu.
-
View the sample commerce data from your Shopify Development Store.
If no data is displayed, click Queue sync.