1 Why import through the API
CJdropshipping lets you push products to a store one at a time from its own dashboard. That works for a handful of products. When you want hundreds or thousands, with your own prices and the same rules for every product, reading CJ's product API directly is faster and easier to control.
That is what TechCare API Product Sync does: it reads CJ's product list, creates the WooCommerce products for you, and updates them on later runs.
2 What you need
- A WordPress site with WooCommerce active.
- A CJdropshipping account.
- The TechCare API Product Sync plugin. The 7-day Pro trial is free, needs no card, and imports up to 50 products, enough to check everything on your own store.
3 Get your CJ access token
- In your CJ account, install the API app (Apps → Install App, under “Others”).
- Open the API tab in your CJ personal center, press Add API, choose API Key and confirm. Copy the key.
- Exchange the key for an access token. On Windows, open PowerShell and run this, with your key in place of
YOUR_API_KEY:
Invoke-RestMethod -Method Post `
-Uri "https://developers.cjdropshipping.com/api2.0/v1/authentication/getAccessToken" `
-ContentType "application/json" `
-Body '{"apiKey":"YOUR_API_KEY"}'
Copy the accessToken value from the answer.
Keep the API key and the token private: anyone who has them can read your CJ account through the API. The plugin stores the token encrypted in your own WordPress database and sends it only to CJ.
4 Connect CJ in the plugin
In WordPress, open API Product Sync → Settings → Source and connection and fill in:
| Setting | Value |
|---|---|
| API URL | https://developers.cjdropshipping.com/api2.0/v1/product/list?pageNum=1&pageSize=200 |
| Authentication | Token in a custom header |
| Token | your accessToken |
| Header name | CJ-Access-Token |
| Token prefix | leave empty (delete the word Bearer) |
Press Test connection & detect fields. A green Connected (HTTP 200) message means CJ accepted your token.
5 Check the detected fields
The test reads the first products CJ returns and fills in the field mapping for you. CJ wraps its list in data.list; the plugin usually finds that on its own, and you can set it in Response shape & pagination → Products root path if not.
Switch the view to Advanced and check the mapping. With CJ's product list it typically looks like this:
| Store field | CJ field |
|---|---|
| Product ID | pid |
| Product name | productNameEn |
| Regular price | sellPrice |
| SKU | productSku |
| Images | productImage |
| Category | categoryName |
Press Show fields of the first product to see everything CJ sent and correct any field that is wrong. Then press Save settings.
6 Add your profit
CJ's sellPrice is what you pay CJ. Open Settings → Pricing and profit, switch on Apply pricing rules and enter your Markup (%). With 40, a product that costs you 10 sells for 14.
Type a CJ price into the Profit calculator to see the selling price and your profit before you import anything. Choosing the number: how to price dropshipping products.
PRO CJ prices are in US dollars. Pro adds an exchange rate (for example to JOD, SAR or EUR), a fixed amount on top of the markup, a minimum price, and rounding such as .99.
7 Import the catalogue
Go to the plugin's Dashboard and press Sync now. Products are created with their name, price, SKU, category and images, and the Logs tab lists every product.
More than 200 products PRO
One request to CJ returns at most one page of products. The free edition reads the address you entered once, so it imports that page. To read the whole catalogue, use Pro's pagination:
| Setting | Value |
|---|---|
| API URL | https://developers.cjdropshipping.com/api2.0/v1/product/list (without ?pageNum…) |
| Pagination style | page / per_page |
| Page parameter | pageNum, starting at 1 |
| Limit parameter | pageSize |
| Products per request | 200 |
Start with a narrow set of products, check them in your shop, then widen it. Pro’s Import rules can skip products by price, stock, keyword or category before they are created.
8 Keep prices in sync
CJ changes prices and availability. Press Sync now again at any time: products you imported before are recognised and only what changed is updated. Products you created by hand are never touched. More on choosing how often: keeping prices and stock in sync.
PRO Switch on automatic sync on the Dashboard: a full sync every hour or so, and a fast price-and-stock update more often. It runs in the background on your server, so you can close the page. Products that left CJ's list can be moved to the trash or drafts, with a safety limit that stops if too many would go at once.
9 Common CJ problems
Error 401 when testing or syncing
CJ refused the token. Access tokens expire (180 days according to CJ's documentation). Get a new one with the command above and paste it into the Token field. Also check that Token prefix is empty: CJ does not use the word Bearer.
Connected, but no products were found
Set Products root path to data.list in Response shape & pagination, then test again.
Only 200 products were imported
That is one page of CJ's list. Use the pagination settings in the Import the catalogue step (Pro) to read every page.
The selling prices are too low
Check that Apply pricing rules is on and your markup is saved. Then run Sync now again: existing products are updated with the new prices.
CJ updates its API from time to time. If something here no longer matches, check CJ’s developer docs or email us.
Try it on your own CJ account
Every Pro feature free for 7 days, up to 50 products, no card needed.
Start the free trialSetting up another supplier? Read the getting started guide.
