Test Shopify

When you've set up Shopify in UAT, you're ready to test the authorisation process for your integration. You'll need to:

  • Set up a test company in UAT.
  • Create a corresponding test store in Shopify.
  • Generate a Link URL to connect your test company to your test store in Shopify.
  • Retrieve commerce data.


Before you start to test Shopify, make sure that you have:

Set up a test company

  1. Go to the Codat Portal in UAT and log in.
  2. Go to Companies.
  3. On the right side of the page, click Add new company.
  4. Enter a name for your test company and select Add.
  5. Keep the Companies page open in a separate browser tab. You'll need it for the next stage of the process.

Create a test store in Shopify

  1. Go to the Shopify developer portal and log in.
  2. Click Add store and choose Development Store.
  3. Fill in the store details, making a note of your store URL, set a password, and click Save.

Generate a link URL and connect your test company to your test store in Shopify

Test the authorisation process that your customers will use when they connect their Shopify account.

  1. On the Companies page of the Codat Portal, find the test company that you created earlier.
  2. Next to the company name, select View Link URL.
  3. The Links URL... dialogue box is displayed.
  4. At the bottom of the Links URL... dialog box, copy the URL for Commerce.
  5. Paste the link URL into your browser, which takes you to Codat Link site.
  6. Choose Shopify and then Continue to Shopify.
  7. Enter the name of the test store you created in Shopify and click Continue. You will be taken to the test store in Shopify and prompted to install your app.

Retrieve commerce data

To test your app in Shopify you will have to manually fill your test store with dummy data. To make sure that commerce data has been pulled successfully into Codat:

  1. Open the Codat Portal in UAT and log in.
  2. In the left pane, select Companies, and search for the test company that you created.
  3. Select View Data next to the company name.
  4. On the company's Data page, select Commerce to see data for all Commerce data types.
  5. If no data is displayed, select Queue sync.

Did this page help you?