1 Install the plugin
You need WordPress with WooCommerce installed and active.
Free edition
- In your WordPress admin, go to Plugins → Add New Plugin.
- Search for TechCare API Product Sync, then press Install Now and Activate.
- A new menu appears in the sidebar: API Product Sync.
You can also download it from its page in the WordPress.org plugin directory.
Pro edition
- After you buy or start the free trial, open the email from Freemius and download the Pro ZIP.
- Go to Plugins → Add New Plugin → Upload Plugin, choose the ZIP, then Install Now and Activate.
- If the free edition is installed, Pro replaces it. Your settings and products stay.
You can start the 7-day Pro trial from inside the plugin too: press Try Pro free for 7 days at the top of the plugin page. The trial adds up to 50 new products, enough to check that it works with your API.
2 Connect your API
Not sure what to ask your supplier for, or what a token is? Read how to connect a supplier's API to WooCommerce first.
Open API Product Sync → Settings → Source and connection.
- API URL: paste the address that returns your supplier's product list, for example
https://api.supplier.com/v1/products. - Authentication: choose what your supplier asks for:
- No authentication for open APIs.
- Bearer token when the docs say
Authorization: Bearer YOUR_TOKEN. - Token in a custom header when the docs name their own header, such as
X-API-KeyorCJ-Access-Token.
- Press Test connection & detect fields.
A green message such as Connected (HTTP 200) · 30 products received means it worked.
Your token is stored encrypted in your own WordPress database. It is only ever sent to the API address you entered.
Pro also supports Basic, Key in the URL, OAuth 2 and HMAC signed requests.
3 Check the detected fields
The test reads the first products in the response and fills in the Field mapping for you. Switch the view to Advanced to see it.
| Store field | Typical API fields |
|---|---|
| Product ID (required) | id, pid, product_id |
| Product name (required) | title, name, productNameEn |
| Regular price (required) | price, sellPrice |
| SKU, stock, images, categories | sku, stock, images, category |
Press Show fields of the first product to see every field the API returned, then change any mapping that is wrong. Fields inside objects use dots, for example pricing.retail.
When your products have sizes or colours, open Variable products and check the variants field. Each option becomes a real WooCommerce variation with its own price and stock. More detail: importing sizes and colours.
Press Save settings when you are done.
4 Set your prices
Not sure what markup to use? Read how to price dropshipping products.
Open Settings → Pricing and profit.
- Switch on Apply pricing rules.
- Enter your Markup (%). With 20, a product costing 25 sells for 30.
- Type a supplier price into the Profit calculator to see the selling price and your profit before you sync.
PRO Add a fixed amount, a minimum price, an exchange rate (for example USD to JOD or SAR) and rounding such as .99.
5 Run your first sync
- Go to the plugin's Dashboard and press Sync now.
- Watch the progress. New products are added, and products you imported before get their prices, stock and details updated.
- When it finishes, the Last run card shows how many were added, updated and unchanged. The Logs tab lists every product.
In the free edition the sync runs in your browser, so keep the page open until it finishes. Pro runs it in the background on your server.
The plugin only changes products it imported itself. Products you created by hand are never touched.
6 Automatic sync PRO
How often to sync, and how to make the schedule reliable: see keeping prices and stock in sync.
On the Dashboard, the Auto sync card has two switches:
- Full sync: adds new products and updates everything. Every 60 minutes is a good start.
- Prices and stock: a fast update of price and quantity only, for products you already have. Run it more often.
Change the timing in Settings → Sync and schedule. Pro also reads large APIs page by page: set the Pagination style in Response shape & pagination, and the connection test suggests the right parameter names for you.
In Protection and deletion you choose what happens to products that left your supplier's source (trash, draft or delete) and the safety limit that stops it if too many would go at once.
7 Connect CJdropshipping
Want every step, the field mapping and CJ-specific fixes? Read the full CJdropshipping to WooCommerce tutorial.
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 (replace
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.
Settings in the plugin
| Setting | Value |
|---|---|
| API URL (free) | https://developers.cjdropshipping.com/api2.0/v1/product/list?pageNum=1&pageSize=200 |
| API URL (Pro) | https://developers.cjdropshipping.com/api2.0/v1/product/list |
| Authentication | Token in a custom header |
| Token | your accessToken |
| Header name | CJ-Access-Token |
| Token prefix | leave empty (delete the word Bearer) |
| Products root path | data.list (usually detected for you) |
PRO To read the whole catalogue, set Pagination style to page / per_page, the page parameter to pageNum starting at 1, the limit parameter to pageSize, and Products per request to 200.
CJ access tokens expire (180 days according to CJ's documentation). Get a new one and paste it into the Token field before it expires, or the sync will fail with a 401 error. CJ also offers a newer “Product List V2” endpoint; this guide uses the classic list because it returns a simple product list that the plugin reads directly. Check CJ's developer docs for changes.
8 Common problems
Error 401 or 403 when testing
The API refused your credentials. Check that the token is complete and still valid, that the Header name matches your supplier's docs exactly, and that the Token prefix is right: Bearer for Bearer tokens, empty for most custom headers.
“Connected” but no products or no fields detected
The product list is probably wrapped inside another field. Switch to Advanced view and set Products root path in Response shape & pagination, for example data, data.items or result.products. Then test again.
Only some of my supplier's products were imported
The free edition reads your API address once, exactly as entered, so it imports what that one request returns. Many APIs accept a page size in the address, such as ?limit=100 or ?pageSize=200. To read every page of a large catalogue automatically, use Pro's pagination.
Product images do not appear
Check that the Images field in the mapping points at the image address or list. The free edition shows images from your supplier's servers; if your supplier blocks that, Pro can download the images into your media library.
Prices look wrong
Make sure Regular price is mapped to the supplier's price, not a sale or old price, and check your markup in the profit calculator. If your supplier prices in another currency, Pro's exchange rate converts it.
The sync stopped before finishing
In the free edition, closing the page or losing the connection stops the run. Press Sync now again; products already imported are recognised and only updated. Pro runs in the background, so it keeps going after you close the page.
Still stuck?
Email support@techcare2.com with your API's documentation link and a screenshot of the test result.
Try every Pro feature free for 7 days