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 Claude, ChatGPT or Copilot in 2 minutes
Start a free trial on AnythingMCP Cloud, connect CJ Dropshipping in the guided setup, then add your MCP URL to your AI assistant. 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
CJ Dropshipping API 2.0: product catalogue with variants, stock per warehouse, orders created as unpaid orders, freight calculation, tracking and disputes. API key.
Setup
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.
Prerequisites: CJ_API_KEY
Install the connector locally
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
Open http://localhost:3000/connectors/store, pick CJ Dropshipping and paste in the env vars listed under Prerequisites.
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."
Next steps
Was this guide helpful?