Pathway A: Products in English (default language)
Complete steps 1 to 5 below to sync your products in your store's default language (English).
1. Create an App in the Shopify App Dashboard
-
Log in to your Shopify account and navigate to shopify app dashboard https://dev.shopify.com/dashboard .
-
In the left sidebar, click Apps.
-
Click Create app (top right).
-
Select Create app manually.
-
Enter an app name, e.g.
CM Marketplace Product Feed. -
Enter an App URL. Your company website is fine.
-
Tick the checkbox which says “Embed the app in shopify admin”
-
Paste
https://www.cm.com/en-gb/app/marketplace/oauth/callbackinto Allowed redirection URL(s). -
Add the following API scopes:
read_products,read_inventory,read_product_listingsandread_publications. -
Set the Webhooks API version to the latest one shown on screen.
-
in the end it will look like this
-
Click Create App and then release version.
2. Install the Recently Created App in the Destination Store
-
In the left sidebar, navigate to the recently created app.
-
Click Select distribution method under the Distribution header.
-
Choose the primary account which was used during the Shopify admin login. Then you will be navigated to the Shopify Partners page.
-
Click Custom distribution and click select
-
Enter the store domain. It will be
storename.myshopify.com. -
Tick the checkbox which says Allow multi-store install for one organization.
-
Click Generate link.
-
Copy the link and open it in a new browser window or a new tab, either is fine.
-
You will be shown the active stores under the account. Select the store which you will use during the integration.
-
Click Install. The app is now installed.
-
Verify the installation in the Shopify admin panel: go to https://admin.shopify.com/store, open your store and go to Settings → Apps. The app will be listed under the installed apps.
3. Copy the Client Id, Client Secret, Store Name, Store Url and Product Id Field
-
Navigate to recently created app
-
Copy the Client Id and Client Secret under Credentials
-
Note down your Store URL and Store Name (
https://{your-store-name}.myshopify.com)
-
Identify your product ID field, The integration uses a field from your Shopify products as the unique product identifier. The default is:
-
-
legacyResourceId— the numeric Shopify product ID (e.g.123456789)
-
4. Provide details to CM
-
Hand over the following to the CM team to complete the integration setup:
|
Field |
Example |
|
Admin API Products URL
|
|
|
Store Name |
|
|
Product ID field name |
|
|
Client id |
|
|
Client Secret |
|
5. Authorize the recently created app to access the admin api’s
After completing step 1, 2, 3, 4 and Delivery Setup - Shopify we will authorize the recently installed app to access the stores admin api
in marketplace simply click Authorize Shopify Button as shown below.
Pathway B: Translated products
If you want translated products synced to CM Product Feed, complete the following steps in shopify
-
Navigate to the Shopify App Store from your https://admin.shopify.com/{your store name} by navigating to setting → Apps →Shopify App Store(as shown in top right corner of image below) .
-
Search for Headless.
-
Install the Headless app.
-
Headless app is installed in your store now
-
Under Sales Channel locate Headless app click it and then click create storefront as shown below
-
Under Manage Api Access locate storefront API and click manage.
-
Click the clipboard shown beside the Public access token this will be StoreFront API Access Token.
-
Hand over the following to the CM team to complete the integration setup:
|
Field |
Example |
|
StoreFront Url |
|
|
Product ID field name |
|
|
StoreFront API Access Token retrieved in step 7 |
|
Final step (both pathways)
6. Attributes synced to CM Product Feed
The integration fetches the following fields from each Shopify product:
|
CM Attribute |
Shopify Source |
Notes |
|---|---|---|
|
|
Configured product ID field ( |
Numeric suffix extracted from the GID |
|
|
|
Product title |
|
|
|
HTML tags stripped |
|
|
|
|
|
|
|
e.g. ACTIVE, DRAFT |
|
|
|
Null for unpublished products |
|
|
variant → |
|
|
|
variant → |
|
|
|
variant → |
|
|
|
variant → |
true / false |
|
|
first image → |
First product image only |
Multi-variant products: Each variant is synced as a separate feed entry, keyed by the variant ID. Single-variant or variant-less products use the product-level ID.