Summary
CJ Dropshipping API 2.0: product catalogue with variants, stock per warehouse, orders created as unpaid orders, freight calculation, tracking and disputes. API key.
Guided setup
Connect CJ Dropshipping to Microsoft Copilot in 2 minutes
Start a free trial on AnythingMCP Cloud, connect CJ Dropshipping in the guided setup, then add your MCP URL to Microsoft Copilot. No code and no server to run.
No credit card · 7-day trial · Self-host alternative available
Try asking
Example prompts for CJ Dropshipping
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → CJ Dropshipping, paste your credentials, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
CJ Dropshipping + Microsoft Copilot
CJ Dropshipping API 2.0: product catalogue with variants, stock per warehouse, orders created as unpaid orders, freight calculation, tracking and disputes. API key.
Prerequisites
See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:
CJ_API_KEY
Step 1 — Get credentials
Setting up takes about 3 minutes.
- In your CJ account open Apps, Install App, and install the API app under Others.
- Open the API page (My CJ, Authorization, API), click Add API, give the key a name and choose the type API Key.
- Copy the key from the column API Key & MCP Token into
CJ_API_KEY.
The connector exchanges the key for an access token (valid 180 days) and sends it in the CJ-Access-Token header; it logs in again when CJ refuses the token.
Where to start: cj_dropshipping_get_settings shows the account and its limits. cj_dropshipping_search_products finds products; cj_dropshipping_get_product and cj_dropshipping_list_variants give the variant ids (vid) that stock, freight and orders work with.
Products and stock: cj_dropshipping_list_categories, cj_dropshipping_search_products, cj_dropshipping_get_product, cj_dropshipping_list_my_products, cj_dropshipping_list_variants, cj_dropshipping_get_variant, cj_dropshipping_list_product_reviews. Stock per warehouse: cj_dropshipping_get_stock_by_variant, cj_dropshipping_get_stock_by_sku, cj_dropshipping_get_stock_by_product. Warehouses: cj_dropshipping_list_global_warehouses, cj_dropshipping_list_warehouses, cj_dropshipping_get_warehouse.
Orders: cj_dropshipping_list_orders, cj_dropshipping_get_order and cj_dropshipping_get_order_logs read them. cj_dropshipping_create_order always creates an unpaid order (payType 3): CJ saves it without charging anything, and the account owner pays it in My CJ. Use is_sandbox 1 to try the flow without a real order. cj_dropshipping_confirm_order, cj_dropshipping_delete_order and cj_dropshipping_cancel_order are installed switched off. cj_dropshipping_get_balance reads the wallet; this connector has no tool that pays from it.
Shipping and tracking: cj_dropshipping_calculate_freight prices the shipping methods for a list of variants (its logisticName goes into the order), cj_dropshipping_get_tracking follows parcels.
Disputes (read only): cj_dropshipping_list_dispute_products, cj_dropshipping_list_disputes, cj_dropshipping_get_dispute.
Order statuses: CREATED (saved, not confirmed), IN_CART, UNPAID (confirmed, has a CJ order number), UNSHIPPED with the sub-statuses PENDING and PROCESSING, SHIPPED, DELIVERED, CANCELLED.
Limits: free accounts may send 1 request per second (Plus 2, Prime 4, Advanced 6), at most 10 per second per address. Every account has daily API points (50,000 base): a product search costs 50, product, variant, stock and freight calls 10 each; orders, tracking and disputes cost none. At most 3 CJ accounts may call from one address within 24 hours.
Answers: every call answers code, result, message, data and requestId. Code 200 means success; other codes are reported as errors with the message of CJ. Amounts are in USD, weights in grams, sizes in millimetres. Times in list filters are UTC.
Step 2 — Install the adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Add the connector in Microsoft Copilot
Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (
https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide showsYOUR_SERVER_ID.
Microsoft Copilot uses MCP servers through agents built in Copilot Studio: you add AnythingMCP to an agent as a tool, then publish the agent to Microsoft 365 Copilot and Teams. Copilot Studio connects from Microsoft's cloud over Streamable HTTP, which AnythingMCP supports.
- In Copilot Studio, open your agent (or create one), go to Tools and choose Add a tool → New tool → Model Context Protocol.
- Enter a Server name (for example
AnythingMCP), a Server description that says what the connector does, and the Server URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID. Copilot Studio uses the description to decide when to call the server. - Under authentication, choose API key, set Type to Header and the header name to
X-API-Key, then select Create. - In Add tool, choose Create a new connection, paste an MCP API key from AnythingMCP (MCP Servers → your server → API keys) and select Add to agent.
- Try it in the agent's Test pane: ask for something that needs the
CJ Dropshippingtools. - Select Publish, then Channels → Microsoft 365 and Microsoft Teams, keep Make agent available in Microsoft Copilot selected and choose Add channel. See agent in Teams installs it for you; in Microsoft 365 Copilot, type @ and pick the agent.
Prefer per-user sign-in? Choose OAuth 2.0 → Dynamic discovery instead of an API key: each user then signs in to AnythingMCP the first time the agent calls it.
Self-hosting? Use your instance's public HTTPS address instead of https://cloud.anythingmcp.com. Copilot Studio connects from Microsoft's cloud, so localhost does not work.
Available tools
| Tool | What it does |
|---|---|
cj_dropshipping_get_settings | Read the account behind the API key: openId, name and email, the per-endpoint quota limits, the request-per-second limit of the account… |
cj_dropshipping_list_categories | List the CJ product categories as a three-level tree: categoryFirstName with categoryFirstList, categorySecondName with categorySecondList… |
cj_dropshipping_search_products | Search the CJ catalogue (Product List V2): data.content[].productList with id (the pid), nameEn, sku (the SPU), bigImage, sellPrice and… |
cj_dropshipping_get_product | Read one product with its variants: pid, productNameEn, productSku, images, weights in grams, categoryId, HS code (entryCode), materials… |
cj_dropshipping_list_my_products | List the products saved to My Products of the account: productId, productName, nameEn, sku, bigImage, totalPrice, productType… |
cj_dropshipping_list_variants | List all variants of a product: vid, variantSku, variantNameEn, variantKey, variantImage, sizes in mm, variantWeight in grams… |
cj_dropshipping_get_variant | Read one variant by its vid: variantSku, variantNameEn, variantKey, sizes, weight and variantSellPrice in USD. With inventory true it also… |
cj_dropshipping_get_stock_by_variant | Read the stock of one variant per regional warehouse: areaId, areaEn, countryCode, totalInventoryNum, cjInventoryNum (in CJ warehouses)… |
cj_dropshipping_get_stock_by_sku | Read the stock of a product or variant by SKU or SPU, per regional warehouse: areaEn, countryCode, totalInventoryNum, cjInventoryNum… |
cj_dropshipping_get_stock_by_product | Read the stock of a whole product by pid: inventories per regional warehouse and variantInventories with the stock of each vid per country… |
cj_dropshipping_list_product_reviews | List buyer reviews of a product: commentId, comment, commentUrls (pictures), commentUser, score, countryCode and commentDate. Read-only |
cj_dropshipping_list_global_warehouses | List the CJ regional (global) warehouses: areaId, areaEn, countryCode and nameEn. The areaId filters cj_dropshipping_list_warehouses and… |
cj_dropshipping_list_warehouses | List the CJ self-operated sub-warehouses: storageId, name, city, province, areaId, areaName and countryCode. Supplier warehouses are not… |
cj_dropshipping_get_warehouse | Read one warehouse: name, areaId, country, province, city, address, contact, phone, zip code, whether self pickup is possible and the… |
cj_dropshipping_list_orders | List CJ orders, newest first: data.list with orderId, orderNum (your order number), cjOrderId, orderStatus and subStatus, recipient and… |
cj_dropshipping_get_order | Read one order by the CJ order id or your own order number: status and sub-status, cjOrderCode, recipient and address, logisticName… |
cj_dropshipping_get_order_logs | Read the log of one order, as under Order Logs in My CJ: logContent, operator, node, createDate and nodeName. By default only the… |
cj_dropshipping_create_order | Create a CJ order as an unpaid order (payType 3): it is saved under the account without payment, add-to-cart or confirmation, and nothing… |
cj_dropshipping_confirm_order | Confirm a created order: it moves from CREATED to UNPAID and gets its CJ order number, ready to be paid in My CJ. Nothing is charged by… |
cj_dropshipping_delete_order | Delete an order that is still CREATED or IN_CART; it goes to the trash. Confirmed, paid or shipped orders cannot be deleted. Installed… |
cj_dropshipping_cancel_order | Cancel an unpaid parent order (cj_order_id) or take one sub-order out of it (cj_order_code). Not a refund: paid orders cannot be cancelled… |
cj_dropshipping_get_balance | Read the CJ wallet balance in USD: amount (available), noWithdrawalAmount and freezeAmount. Nothing is paid. Read-only |
cj_dropshipping_calculate_freight | Calculate the shipping options for a list of variants between two countries: logisticName, logisticPrice in USD, logisticAging (delivery… |
cj_dropshipping_get_tracking | Read the tracking of one or more parcels: trackingNumber, trackingFrom, trackingTo, deliveryDay, deliveryTime, trackingStatus… |
cj_dropshipping_list_dispute_products | List the items of an order that a dispute can be opened for: lineItemId, cjProductId, cjVariantId, sku, cjProductName, price, quantity… |
cj_dropshipping_list_disputes | List disputes: disputeId, status, disputeReason, refundMoney, replacementAmount, resendOrderCode, finallyDeal, createDate, updateDate and… |
cj_dropshipping_get_dispute | Read one dispute: status, disputeReason, money and refundAmount in USD, replacementAmount, resendOrderCode, finallyDeal, createDate… |
Example prompts
- "Find LED desk lamps under 10 USD and show which warehouses have stock."
- "What does shipping cost for 2 units of variant 1625382910 to Germany, by shipping method?"
- "Track the parcels of my orders shipped this week."
- "Which of my orders are still unpaid or unshipped?"
- "Show my open disputes and their status."
FAQ
Where does the API key come from? In your CJ account open Apps, Install App and install the API app under Others. Then My CJ, Authorization, API: click Add API, choose the type API Key and copy the key from the column API Key & MCP Token. The connector exchanges it for an access token and logs in again when CJ refuses it.
What does it cover, and can it pay? The product catalogue with variants, reviews and stock per warehouse, your products, warehouses, orders with logs, freight calculation, tracking and disputes (read-only), and the wallet balance. cj_dropshipping_create_order always creates an unpaid order: CJ charges nothing and the account owner pays it in My CJ. No tool pays from the wallet. Product, stock and freight calls cost daily API points; orders and tracking cost none.
Which tools install switched off? cj_dropshipping_confirm_order, cj_dropshipping_delete_order and cj_dropshipping_cancel_order. Switch them on on the connector page only if the AI should use them.
Which Copilot is this for? Microsoft 365 Copilot at work, through agents built in Copilot Studio. The Microsoft Copilot app for personal accounts has no option to add your own MCP server.
What do I need? A work account with access to Copilot Studio (a license or a trial) to build the agent. People who use it in Microsoft 365 Copilot or Teams need access to the agent: share it with them, or ask an admin to publish it to the organization. If your organization applies data policies to Power Platform connectors, they cover MCP servers too.
The agent doesn't call the tools. Check that the header name is exactly X-API-Key and that the key belongs to the same MCP server as the URL, and make the server description specific: Copilot Studio uses it to decide when to call the server. Publish the agent again after each change; in an open chat, type "start over" to get the new version.
Next steps
Was this guide helpful?