# 9 Shop

# 1 Shop List

# 1.1 Get Shop List (GET)

Retrieve the list of shops bound to / created under the current account.

# URL

https://developers.cjdropshipping.com/api2.0/v1/shop/getShops

# CURL

curl --location --request GET 'https://developers.cjdropshipping.com/api2.0/v1/shop/getShops' \
                --header 'CJ-Access-Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'

# Rate Limit

No explicit rate-limit annotation; gateway default quota applies.

# Request Parameters

None (the account id is injected from the login session).

# Return

success

{
    "code": 200,
    "result": true,
    "message": "Success",
    "data": [
        {
            "id": "1424608189734850560",
            "createDate": "2024-01-01 12:00:00",
            "name": "MyShop",
            "status": 1,
            "type": "shopify",
            "updateDate": "2024-06-01 12:00:00",
            "individuationNum": "001",
            "fulfillmentStatus": "auto",
            "shopifyPodSettings": "{}",
            "marketplace": "us",
            "aliasName": "Alias",
            "syncInventory": 1,
            "syncInventoryRate": 100,
            "isCb": 0,
            "trackUrlTemplate": "https://example.com/track/{number}",
            "emailNotification": 1,
            "email": "user@example.com",
            "countryCode": "US",
            "storeCountry": "United States",
            "platformLogoUrl": "https://example.com/logo.png",
            "currencyCode": "USD",
            "businessType": 1,
            "deliveryProfileOpen": 1,
            "haveDeliveryProfileScopes": 1,
            "deliveryProfileSpecifiedShop": 1,
            "deliveryProfileNewShop": 0
        }
    ],
    "requestId": "ae543fd1-cdd7-4a61-974a-1340fea678c6"
}
Field Definition Type Length Note
id Shop id string 50
createDate Create time string 30
name Shop name string 200
status Shop status int 5 Store status: 0=Deleted, 1=Authorized, 2=Deactivated, 3=Authorization failed, 4=Authorization expired, 5=In transition
type Shop type / platform string 50 Referer Platforms
updateDate Update time string 30
individuationNum Individuation no. string 50
fulfillmentStatus Fulfillment status string 50
shopifyPodSettings Shopify POD settings string - JSON string
marketplace Marketplace string 50
aliasName Alias name string 200
syncInventory Sync inventory flag int 1 1/0
syncInventoryRate Inventory sync rate int 5 percent
isCb Cross-border flag int 1 1/0
trackUrlTemplate Tracking URL template string 500
emailNotification Email notification flag int 1 1/0
email Notification email string 200
countryCode Country code string 20
storeCountry Store country string 100
platformLogoUrl Platform logo string 500
currencyCode Currency code string 10
businessType Business type int 5
deliveryProfileOpen Delivery profile open flag int 1 1/0
haveDeliveryProfileScopes Has delivery profile scopes flag int 1 1/0
deliveryProfileSpecifiedShop Delivery profile specified shop int 1 1/0
deliveryProfileNewShop Delivery profile new shop flag int 1 1/0

# 2 Store Product

# 2.1 Save Product (POST)

Save a store product to CJ system.

# URL

https://developers.cjdropshipping.com/api2.0/v1/store/product/saveProduct

# CURL

curl --location 'https://developers.cjdropshipping.com/api2.0/v1/store/product/saveProduct' \
     --header 'CJ-Access-Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
     --header 'Content-Type: application/json' \
     --data '{
         "id": "prod123",
         "shopId": "1234567890",
         "title": "Example Product",
         "image": "https://example.com/image.jpg",
         "description": "Product description",
         "priceMin": 10.00,
         "priceMax": 20.00,
         "priceCurrency": "USD"
     }'
Parameter Definition Type Required Length Note
id Store product ID string Y 64
shopId Shop ID string N 64 Defaults to the shop bound to your API account; see "Targeting a shop" below
title Product title string Y 500
image Product image URL string Y 400
description Description string N 5000
priceMin Min price BigDecimal N 20 Must pair with priceCurrency
priceMax Max price BigDecimal N 20 Must pair with priceCurrency
priceCurrency Price currency string N 10 e.g. USD

Targeting a shop (shopId): one CJ account can own several API shops; shopId picks which one this product is saved to. Omit it and the behaviour is unchanged — the product goes to the shop bound to your API account. The creator (user id) is recorded by CJ from your API credentials — you neither need to nor can specify it in the request. Get shop IDs from 1.1 Get Shop List and pass one that belongs to your own account; a shopId that does not exist is rejected by the shop service (Shop does not exist). ⚠️ If you pass someone else's shop ID, this endpoint will not stop you — the product is stored under that shop's owning account and you will not see it in your own shop. Always take the ID from the endpoint above rather than hand-assembling it.

# Return

success

{
    "code": 200,
    "result": true,
    "message": "success",
    "data": true,
    "requestId": "ae543fd1-cdd7-4a61-974a-1340fea678c6"
}

error

{
    "code": 1600100,
    "result": false,
    "message": "Param error",
    "data": null,
    "requestId": "323fda9d-3c94-41dc-a944-5cc1b8baf5b1"
}
Field Definition Type Length Note
code error code int 20 Reference error code
result Whether or not the return is normal boolean 1
message return message string 200
data return data object interface data return
requestId requestId string 48 Flag request for logging errors

# 2.2 Save Variant Batch (POST)

Save store product variants in batch.

# URL

https://developers.cjdropshipping.com/api2.0/v1/store/product/saveVariantBatch

# CURL

curl --location 'https://developers.cjdropshipping.com/api2.0/v1/store/product/saveVariantBatch' \
     --header 'CJ-Access-Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
     --header 'Content-Type: application/json' \
     --data '{
         "shopId": "1234567890",
         "variants": [
             {
                 "id": "var001",
                 "productId": "prod123",
                 "title": "Red - XL",
                 "sku": "SKU-RED-XL",
                 "image": "https://example.com/red-xl.jpg",
                 "shopPrice": 15.00,
                 "shopPriceCurrency": "USD",
                 "weight": 250,
                 "weightUnit": "g"
             }
         ]
     }'
Parameter Definition Type Required Length Note
shopId Shop ID string N 64 Batch-level: every variant in this call belongs to this shop. Defaults to the shop bound to your API account
variants Variant list Array Y -
- id Variant ID string Y 64
- productId Product ID string Y 64
- title Variant title string Y 500
- sku Variant SKU string Y 200
- image Variant image URL string Y 500
- shopPrice Variant price BigDecimal N 20
- shopPriceCurrency Price currency string N* 10 Required when shopPrice is provided
- weight Weight BigDecimal N 20
- weightUnit Weight unit string N 10 e.g. g, kg
- oldInventoryQuantity Old inventory qty long N -

shopId is batch-level, not per-variant: all variants in one call must belong to the same shop (make separate calls to write into different shops). The value and its caveats are the same as in 2.1 Save Product. Make sure variants land in the same shop as their product (2.1), otherwise each variant comes back with saveSuccess: false because the product cannot be found in that shop.

# Return

success

{
    "code": 200,
    "result": true,
    "message": "success",
    "data": [
        {
            "id": "var001",
            "productId": "prod123",
            "saveSuccess": true,
            "saveFailMessage": null
        }
    ],
    "requestId": "ae543fd1-cdd7-4a61-974a-1340fea678c6"
}
Field Definition Type Length Note
id Variant ID string 64
productId Product ID string 64
saveSuccess Save result boolean 1
saveFailMessage Failure reason string 500 null if success

error

{
    "code": 1600100,
    "result": false,
    "message": "Param error",
    "data": null,
    "requestId": "323fda9d-3c94-41dc-a944-5cc1b8baf5b1"
}
Field Definition Type Length Note
code error code int 20 Reference error code
result Whether or not the return is normal boolean 1
message return message string 200
data return data object interface data return
requestId requestId string 48 Flag request for logging errors

# 2.3 Query Shop Products (Paged) (GET)

Paginated query of the current account's store products, supporting filtering by product relevance status. This endpoint does NOT return variants (use 2.4 Query Shop Product Details for variants). The account is resolved from the access token; only the caller's own shop products are returned.

# URL

https://developers.cjdropshipping.com/api2.0/v1/shop/product/queryPage

# CURL

curl --location --request GET 'https://developers.cjdropshipping.com/api2.0/v1/shop/product/queryPage?pageNum=1&pageSize=10&relevanceStatusValues=0&relevanceStatusValues=1' \
     --header 'CJ-Access-Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
Parameter Definition Type Required Length Note
pageNum Page number int N - Default 1
pageSize Page size int N - Default 10, max 10 (at most 10 per query)
shopId Shop ID string N 200
shopProductId Shop product ID (exact) string N 200
searchKey Fuzzy match on product title string N 200
relevanceStatusValues Relevance status filter Set<Integer> N - 0-Unrelated 1-Partial 2-Related 3-Off-shelf related; omit=all

# Return

success

{
    "code": 200,
    "result": true,
    "message": "success",
    "data": {
        "pageNum": 1,
        "pageSize": 10,
        "total": 1,
        "list": [
            {
                "shopId": "shop_1",
                "shopName": "MyShop",
                "shopType": "Shopify",
                "platformProductId": "p_1",
                "platformProductTitle": "Rose",
                "platformProductImage": "https://example.com/p.jpg",
                "platformProductPrices": "9.99-19.99",
                "platformProductPricesCurrency": "USD",
                "platformProductHandle": "rose",
                "platformProductType": "Flowers",
                "platformProductCategoryId": "cat_1",
                "platformProductTags": "tag1,tag2",
                "shopProductStatus": 1,
                "relevanceStatus": 1,
                "createDateTime": 1782700800000
            }
        ]
    },
    "requestId": "ae543fd1-cdd7-4a61-974a-1340fea678c6"
}
Field Definition Type Note
pageNum Current page int
pageSize Page size int
total Total count int
list[].shopId Shop ID string
list[].shopName Shop name string
list[].shopType Shop platform type string e.g. Shopify
list[].platformProductId Shop product ID string
list[].platformProductTitle Product title string
list[].platformProductImage Product image string
list[].platformProductPrices Price range string Not returned for TEMU
list[].platformProductPricesCurrency Price currency string
list[].platformProductHandle Product handle string
list[].platformProductType Product type string
list[].platformProductCategoryId Category ID string
list[].platformProductTags Tags string
list[].shopProductStatus Status int 1-On shelf 2-Deleted 3-Off shelf
list[].relevanceStatus Relevance status int 0-Unrelated 1-Partial 2-Related 3-Off-shelf related
list[].createDateTime Created time long epoch millis

error

{
    "code": 1600100,
    "result": false,
    "message": "Param error",
    "data": null,
    "requestId": "323fda9d-3c94-41dc-a944-5cc1b8baf5b1"
}

# 2.4 Query Shop Product Details (GET)

Query shop product details by shopId + platformProductIds, returning products together with their variants. Both shopId and platformProductIds are required; platformProductIds allows at most 10 ids. The account is resolved from the access token; only the caller's own shop products are returned.

# URL

https://developers.cjdropshipping.com/api2.0/v1/shop/product/queryDetail

# CURL

curl --location --request GET 'https://developers.cjdropshipping.com/api2.0/v1/shop/product/queryDetail?shopId=shop_1&platformProductIds=p_1&platformProductIds=p_2' \
     --header 'CJ-Access-Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
Parameter Definition Type Required Length Note
shopId Shop ID string Y 200
platformProductIds Shop product IDs (max 10) array Y - Repeat param: platformProductIds=a&platformProductIds=b

# Return

success (data is an array of product details, each item contains its variants)

{
    "code": 200,
    "result": true,
    "message": "success",
    "data": [
        {
            "shopId": "shop_1",
            "shopName": "MyShop",
            "shopType": "Shopify",
            "platformProductId": "p_1",
            "platformProductTitle": "Rose",
            "platformProductImage": "https://example.com/p.jpg",
            "platformProductPrices": "9.99-19.99",
            "platformProductPricesCurrency": "USD",
            "platformProductHandle": "rose",
            "platformProductType": "Flowers",
            "platformProductCategoryId": "cat_1",
            "platformProductTags": "tag1,tag2",
            "shopProductStatus": 1,
            "relevanceStatus": 1,
            "createDateTime": 1782700800000,
            "variants": [
                {
                    "platformProductId": "p_1",
                    "platformVariantId": "v_1",
                    "platformVariantSku": "SKU-1",
                    "platformVariantTitle": "Red",
                    "platformVariantImage": "https://example.com/v.jpg",
                    "price": 9.99,
                    "priceUSD": 9.99,
                    "priceCurrency": "USD",
                    "grams": "250",
                    "weight": 250,
                    "weightUnit": "g",
                    "relevanceStatus": "2",
                    "inventoryItemStatus": "2",
                    "shopProductStatus": 1,
                    "createDateTime": 1782700800000
                }
            ]
        }
    ],
    "requestId": "ae543fd1-cdd7-4a61-974a-1340fea678c6"
}
Field Definition Type Note
data[].shopId Shop ID string
data[].shopName Shop name string
data[].shopType Shop platform type string e.g. Shopify
data[].platformProductId Shop product ID string
data[].platformProductTitle Product title string
data[].platformProductImage Product image string
data[].platformProductPrices Price range string Not returned for TEMU
data[].platformProductPricesCurrency Price currency string
data[].platformProductHandle Product handle string
data[].platformProductType Product type string
data[].platformProductCategoryId Category ID string
data[].platformProductTags Tags string
data[].shopProductStatus Status int 1-On shelf 2-Deleted 3-Off shelf
data[].relevanceStatus Relevance status int 0-Unrelated 1-Partial 2-Related 3-Off-shelf related
data[].createDateTime Created time long epoch millis
data[].variants Variants array Variant list under the product
data[].variants[].platformProductId Owning product ID string
data[].variants[].platformVariantId Variant ID string
data[].variants[].platformVariantSku Variant SKU string
data[].variants[].platformVariantTitle Variant title string
data[].variants[].platformVariantImage Variant image string
data[].variants[].price Price BigDecimal Not returned for TEMU
data[].variants[].priceUSD Price (USD) BigDecimal Not returned for TEMU
data[].variants[].priceCurrency Price currency string
data[].variants[].grams Weight (g) string
data[].variants[].weight Weight BigDecimal
data[].variants[].weightUnit Weight unit string
data[].variants[].relevanceStatus Variant relevance string 0-Unknown 1-Unrelated 2-Related
data[].variants[].inventoryItemStatus Fulfillment status string 0-Unused 1-Fulfillment only 2-Fulfillment+Inventory 3-Inventory only
data[].variants[].shopProductStatus Status int 1-On shelf 2-Deleted 3-Off shelf
data[].variants[].createDateTime Created time long epoch millis

error

{
    "code": 1600100,
    "result": false,
    "message": "Param error",
    "data": null,
    "requestId": "323fda9d-3c94-41dc-a944-5cc1b8baf5b1"
}

# 2.5 Pull Store Products (POST)

Pulls your store's products from the sales platform into CJ — the same as Specific Sync on the My CJ store products page. Pulled products can then be connected to CJ products (3.2 Create Product Connection). The pull runs in the background: this endpoint only accepts the request; use 2.6 Query Pull Progress to follow it. Rate limit: the per-user QPS of your account level applies (1–6 requests/second, see Access Frequency Restrictions).

What a pull changes in CJ (same as the My CJ button):

  • product and variant information in CJ is overwritten with the data from the platform;
  • variants that no longer exist on the platform: unconnected ones are deleted from CJ, connected ones are marked as deleted by the store;
  • if the store authorization has expired, the store is marked as authorization expired and the pull is rejected.

Only one pull per store at a time. While a pull of the store is running, a new request is rejected; start again after it finishes.

# URL

https://developers.cjdropshipping.com/api2.0/v1/shop/product/pull

# CURL

curl --location --request POST 'https://developers.cjdropshipping.com/api2.0/v1/shop/product/pull' \
     --header 'CJ-Access-Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
     --header 'Content-Type: application/json' \
     --data '{
         "shopId": "1723456789012345678",
         "startTime": "2026-10-01 00:00:00",
         "endTime": "2026-10-31 23:59:59"
     }'
Parameter Definition Type Required Length Note
shopId Store ID string Y 50 id from 1.1 Get Shop List; must be your own store
productId Platform product ID string N 100 Pull only this product. Omit to pull the whole store (or the time range below)
startTime Start of the product creation time on the platform string N - yyyy-MM-dd HH:mm:ss, interpreted the same way as the time filter of Specific Sync on My CJ. Must be sent together with endTime and not later than it
endTime End of the product creation time on the platform string N - Same as above
siteCode Site string N 50 eBay and Lazada stores only; ignored for other platforms. Use a countryCode returned by Query Listing Sites for this store (for eBay: US, UK, Germany, Australia… — not ISO country codes). Omit to pull the store's registered site

eBay: a whole-store pull covers one site per request (the registered site by default, or siteCode). It uses an eBay search quota shared by all CJ users; when the daily quota is used up, whole-store eBay pulls fail until 15:00 Beijing time (07:00 UTC). Pulling by productId is not affected and ignores siteCode. A site with 1,000 or more products is skipped in a whole-store pull — pull those products by productId.

# Return

success

{
    "code": 200,
    "result": true,
    "message": "Success",
    "data": {
        "shopId": "1723456789012345678",
        "accepted": true,
        "siteCode": null
    },
    "requestId": "2c4e6a8b-0d1f-4e3a-8c5b-7d9e1f3a5b7c"
}
Field Definition Type Note
shopId Store ID string
accepted The pull has been accepted boolean Always true on success
siteCode The site that is pulled string For eBay whole-store pulls, and for Lazada when you sent siteCode; null otherwise (Lazada then pulls the store's registered site)

error

Code Meaning
1600300 Invalid parameter, e.g. wrong time format, startTime later than endTime, or a siteCode that is not a site of this store (the message lists the valid values)
Other codes Returned by the store service with its message, e.g. the store does not exist or is not yours, the store authorization has expired, a pull of this store is already running, the platform does not support pulling

# 2.6 Query Pull Progress (GET)

Returns the progress of the latest pull of a store. Once this endpoint has seen a pull of yours finish, that result is kept for 1 hour; poll until status is no longer RUNNING. A pull started on My CJ may already be gone (NONE) if My CJ read its result first.

# URL

https://developers.cjdropshipping.com/api2.0/v1/shop/product/pullProgress

# CURL

curl --location --request GET 'https://developers.cjdropshipping.com/api2.0/v1/shop/product/pullProgress?shopId=1723456789012345678' \
     --header 'CJ-Access-Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
Parameter Definition Type Required Length Note
shopId Store ID string Y 50 Your own store

# Return

{
    "code": 200,
    "result": true,
    "message": "Success",
    "data": {
        "shopId": "1723456789012345678",
        "status": "FINISHED",
        "total": 120,
        "success": 118,
        "fail": 2,
        "failReason": null
    },
    "requestId": "2c4e6a8b-0d1f-4e3a-8c5b-7d9e1f3a5b7c"
}
Field Definition Type Note
shopId Store ID string
status Pull status string RUNNING running; FINISHED finished — this does not mean every product succeeded, check success / fail; FAILED the whole pull failed (currently only reported for Wix and Whop stores), see failReason; NONE no pull is running and none finished in the last hour
total Products processed int null while the count is unknown
success Products pulled successfully int
fail Products that failed int
failReason Reason of a failed pull string Only when status is FAILED

No percentage is returned: progress percentages shown in My CJ are estimates, not real progress.

# 2.7 Query Inventory Sync Details (POST)

For connected store variants, shows what CJ last pushed to each store warehouse — time, quantity, source and result — together with the quantity CJ should push now and the current quantity in the store. The same data as the Inventory Sync Log in the My CJ connection list. Use it to check whether inventory sync works for a variant. Rate limit: the per-user QPS of your account level applies.

Only the latest push of each variant × store warehouse is kept — this is not a push history. Supported platforms: Shopify, TikTok, TikTok US, Temu, Temu US Local, Wix, Whop; other platforms return an error.

# URL

https://developers.cjdropshipping.com/api2.0/v1/shop/product/inventorySyncDetail

# CURL

curl --location --request POST 'https://developers.cjdropshipping.com/api2.0/v1/shop/product/inventorySyncDetail' \
     --header 'CJ-Access-Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
     --header 'Content-Type: application/json' \
     --data '{
         "shopId": "1723456789012345678",
         "items": [
             {"platformProductId": "8812345678901", "platformVariantIds": ["45678901234567"]}
         ]
     }'
Parameter Definition Type Required Length Note
shopId Store ID string Y - Your own store
items Store products to check array Y 1–5 items The current store quantity is read live from the platform product by product (about 3 seconds per product), so at most 5 products per request
items[].platformProductId Store product ID string Y - From 3.1 Query Product Connection List
items[].platformVariantIds Store variant IDs string[] N - Omit to return all connected variants of the product

# Return

{
    "code": 200,
    "result": true,
    "message": "Success",
    "data": [
        {
            "shopId": "1723456789012345678",
            "platformProductId": "8812345678901",
            "platformVariantId": "45678901234567",
            "platformVariantSku": "TSHIRT-RED-M",
            "cjProductId": "2410150123456789012",
            "cjVariantId": "2410150123456789013",
            "cjVariantSku": "CJTX123456701AZ",
            "relevanceStatus": "CONNECTED",
            "canSyncInventory": true,
            "publishInventory": 120,
            "shopQuantity": 118,
            "lastSyncQuantity": 118,
            "warehouses": [
                {
                    "shopWarehouseId": "gid://shopify/Location/123",
                    "shopWarehouseName": "Main warehouse",
                    "cjWarehouseName": "US West",
                    "publishInventory": 120,
                    "shopQuantity": 118,
                    "lastSyncQuantity": 118,
                    "lastSyncTime": 1762156800000,
                    "lastSyncSource": "SCHEDULED",
                    "lastSyncStatus": "SUCCESS",
                    "lastSyncFailMessage": null
                }
            ]
        }
    ],
    "requestId": "2c4e6a8b-0d1f-4e3a-8c5b-7d9e1f3a5b7c"
}
Field Definition Type Note
shopId / platformProductId / platformVariantId / platformVariantSku Store variant string Unconnected variants are not returned
cjProductId / cjVariantId / cjVariantSku Connected CJ variant string
relevanceStatus Connection status string CONNECTED; CONNECTED_OFF_SHELF connected but the CJ product is off shelf; other values may be added
canSyncInventory Whether CJ can sync inventory for this variant boolean
publishInventory Quantity CJ should push now (sum of the store warehouses) int
shopQuantity Current quantity in the store (sum) int Read live from the platform; null if the platform could not be read
lastSyncQuantity Quantity of the latest push (sum) int
warehouses[].shopWarehouseId / shopWarehouseName Store warehouse (location) string
warehouses[].cjWarehouseName CJ warehouse the store warehouse is bound to string
warehouses[].publishInventory / shopQuantity / lastSyncQuantity Same as above, per store warehouse int
warehouses[].lastSyncTime Time of the latest push long epoch millis; null if never pushed
warehouses[].lastSyncSource What triggered the latest push string SUBSCRIPTION inventory change, SCHEDULED scheduled task, WEBHOOK platform webhook, MANUAL manual setting, LISTING listing, OTHER
warehouses[].lastSyncStatus Result of the latest push string SUCCESS / FAILED / OTHER
warehouses[].lastSyncFailMessage Why the latest push failed string Usually the platform's error message

error: a code and message from the store service, e.g. the store does not exist or is not yours, or the platform is not supported; 1600300 for invalid parameters.

# 3 Product Connection

Product Connection binds a CJ product/variant to a platform (shop) product/variant. Once bound, orders placed on the shop can be automatically matched to the corresponding CJ product for fulfilment.

# 3.1 Query Product Connection List (GET)

Query existing product connection records under the current account. Supports filtering by shop, platform product, platform variant.

# URL

https://developers.cjdropshipping.com/api2.0/v1/product/conn/connection

# CURL

curl --location --request GET 'https://developers.cjdropshipping.com/api2.0/v1/product/conn/connection?shopId=xxx&platformProductId=yyy&page=1&pageSize=10' \
                --header 'CJ-Access-Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'

# Request Parameters

Parameter Definition Type Required Length Note
shopId Shop Id string N 40 If omitted, the API shop bound to account is used, Shops
platformProductId Platform Product Id string N 100
platformVariantId Platform Variant Id string N 100
page Current page int N - Default 1
pageSize Page size int N - Default 10, max 100

# Return

success

{
    "code": 200,
    "result": true,
    "message": "Success",
    "data": {
        "total": 1,
        "list": [
            {
                "shopId": "xxx",
                "platformProductId": "yyy",
                "platformVariantId": "zzz",
                "cjProductId": "1424608189734850560",
                "cjVariantId": "1424608152007086080",
                "cjSku": "CJYD284206501AZ",
                "cjShortSku": "1600012986801",
                "defaultArea": 1,
                "logistics": "PacketPlus",
                "sourceCountryCode": "CN",
                "sourceCountry": "China",
                "targetCountryCode": "US",
                "targetCountry": "United States"
            }
        ]
    },
    "requestId": "ae543fd1-cdd7-4a61-974a-1340fea678c6"
}
Field Definition Type Length Note
total Total count int 20
list Connection list list -
- shopId Shop Id string 40
- platformProductId Platform Product Id string 100
- platformVariantId Platform Variant Id string 100
- cjProductId CJ Product Id string 50
- cjVariantId CJ Variant Id string 50
- cjSku CJ Variant SKU string 200 e.g. CJYD284206501AZ
- cjShortSku CJ Short SKU string 200 e.g. 1600012986801
- defaultArea Default area int 5
- logistics Logistics method string 200
- sourceCountryCode Source country code string 20
- sourceCountry Source country string 100
- targetCountryCode Target country code string 20
- targetCountry Target country string 100

# 3.2 Create Product Connection (POST)

Bind one CJ product (with one or more variants) to a platform product (with the corresponding variants).

# URL

https://developers.cjdropshipping.com/api2.0/v1/product/conn/connection

# CURL

curl --location --request POST 'https://developers.cjdropshipping.com/api2.0/v1/product/conn/connection' \
                --header 'CJ-Access-Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
                --header 'Content-Type: application/json' \
                --data-raw '{
                    "shopId": "xxx",
                    "defaultArea": 1,
                    "logistics": "PacketPlus",
                    "cjProductId": "1424608189734850560",
                    "platformProductId": "yyy",
                    "sourceCountryCode": "CN",
                    "sourceCountry": "China",
                    "targetCountryCode": "US",
                    "targetCountry": "United States",
                    "variantList": [
                        {
                            "cjVariantId": "1424608152007086080",
                            "platformVariantId": "v_001"
                        }
                    ]
                }'

# Rate Limit

# Request Parameters

Parameter Definition Type Required Length Note
shopId Shop Id string N 50 If omitted, the API shop bound to account is used, Shops
defaultArea Default area int Y 5
logistics Logistics method string Y 200
cjProductId CJ Product Id string Y 50
platformProductId Platform Product Id string Y 100
sourceCountryCode Source country code string N 20
sourceCountry Source country string N 100
targetCountryCode Target country code string N 20
targetCountry Target country string N 100
variantList Variant list list Y - At least one variant
- cjVariantId CJ Variant Id string Y 50
- platformVariantId Platform Variant Id string Y 100
ignoreCheckInventory Skip the inventory check int N 1 Only 0 or 1 is accepted. Omitted or 0: variants with no available inventory in the CJ US warehouse are rejected (see error 10063 below). 1: connect anyway. The inventory of those variants will then be managed by CJ US warehouses and is subject to change. Scope: the inventory check only applies to TikTok US, TikTok US Cross-border, Temu and Temu US Local stores. For every other store type the check never runs, so 10063 is never returned and this field has no effect.

# Return

success

{
    "code": 200,
    "result": true,
    "message": "Success",
    "data": true,
    "requestId": "ae543fd1-cdd7-4a61-974a-1340fea678c6"
}

rejected because one or more CJ variants have no available inventory in the CJ US warehouse

{
    "code": 10063,
    "result": false,
    "message": "Connection rejected: the following CJ variant(s) have no available inventory in the CJ US warehouse: [CJLX206731702BY]. Please connect other variants, or resubmit the same request with \"ignoreCheckInventory\": 1 to connect anyway (the inventory of these variants will then be managed by CJ US warehouses and is subject to change).",
    "data": false,
    "requestId": "4be98337-8089-4960-8ef1-8f603058eca6"
}

WARNING

message is meant to be read by a human. Its wording and layout may change at any time without notice, and the variant identifiers it contains may themselves contain [, ] or ,. Do not parse it. Branch on code instead.

# 3.3 Disconnect Product (DELETE)

Remove an existing connection by platform product Id (optionally restricted to a single platform variant).

# URL

https://developers.cjdropshipping.com/api2.0/v1/product/conn/connection

# CURL

curl --location --request DELETE 'https://developers.cjdropshipping.com/api2.0/v1/product/conn/connection?shopId=xxx&platformProductId=yyy&platformVariantId=zzz' \
                --header 'CJ-Access-Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'

# Request Parameters

Parameter Definition Type Required Length Note
shopId Shop Id string N 50 If omitted, the API shop bound to account is used, Shops
platformProductId Platform Product Id string Y 100
platformVariantId Platform Variant Id string N 100 If empty, all variant connections under that platform product are removed

# Return

success

{
    "code": 200,
    "result": true,
    "message": "Success",
    "data": true,
    "requestId": "ae543fd1-cdd7-4a61-974a-1340fea678c6"
}

# 3.4 Query Product Connection Logs (POST)

Returns the history of connecting / disconnecting your store products to CJ products — the Connection Records you see in My CJ. Use it to find out when and how a store variant got (or lost) its CJ product, e.g. after an order was not matched. 20 points per call.

Records are newest first. At least one filter is required (there is no time range filter). Rate limit: the per-user QPS of your account level applies (1–6 requests/second, see Access Frequency Restrictions); exceeding it returns HTTP 429 with code 1600200.

Good to know:

  • A shopId that is not yours is not rejected; it simply matches nothing (records are always limited to your account).
  • shopName, the store / CJ product and variant titles and images, platformVariantSku and cjVariantKey are read at query time, so they show the current values and are null if the product or variant has since been deleted. operationType, operationTime, the IDs and relevanceStatus are recorded when the operation happened.
  • An empty page normally means no record matches. In rare cases it can also mean the log service was temporarily unavailable — if you expect records, retry later.

# URL

https://developers.cjdropshipping.com/api2.0/v1/product/conn/connectionLog/queryPage

# CURL

curl --location --request POST 'https://developers.cjdropshipping.com/api2.0/v1/product/conn/connectionLog/queryPage' \
                --header 'Content-Type: application/json' \
                --header 'CJ-Access-Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
                --data-raw '{
                    "shopId": "1424608189734850560",
                    "platformProductId": "8123456789",
                    "pageNum": 1,
                    "pageSize": 10
                }'
Parameter Definition Type Required Length Note
shopId Store ID string at least one of the six 40 id from Get Shop List
platformProductId Store product ID string at least one of the six 100 Product ID in your store, e.g. from Query Shop Products
platformVariantId Store variant ID string at least one of the six 100
platformVariantSku Store variant SKU string at least one of the six 200
cjProductSpu CJ product SKU (SPU) string at least one of the six 100 productSku of Product Details. ⚠ Connect records (manual / publish / search / auto) are stored without the SPU, so this filter only finds disconnect and externalPush records; to see when a variant was connected, filter by cjVariantSku or the store IDs
cjVariantSku CJ variant SKU string at least one of the six 200 variants[].variantSku of Product Details
pageNum Page number int N Default 1
pageSize Records per page int N Default 10, max 50. pageNum × pageSize must not exceed 10000

# Return

success

{
    "code": 200,
    "result": true,
    "message": "Success",
    "data": {
        "pageNum": 1,
        "pageSize": 10,
        "total": 1,
        "list": [
            {
                "id": "1842000000000000301",
                "operationType": "manual",
                "operationTypeDesc": "Manual connection",
                "operationTime": 1790850000000,
                "shopId": "1424608189734850560",
                "shopName": "My Store",
                "platformProductId": "8123456789",
                "platformProductTitle": "Cotton T-Shirt",
                "platformProductImage": "https://cdn.shopify.com/s/files/xxx.jpg",
                "platformVariantId": "44123456789",
                "platformVariantSku": "TS-BLK-XL",
                "platformVariantTitle": "Black / XL",
                "platformVariantImage": "https://cdn.shopify.com/s/files/yyy.jpg",
                "cjProductId": "1424608189734850561",
                "cjProductSpu": "CJTS1234567",
                "cjProductTitle": "Men's Cotton T-Shirt",
                "cjProductImage": "https://cf.cjdropshipping.com/xxx.jpg",
                "cjVariantId": "1424608189734850562",
                "cjVariantSku": "CJTS1234567-Black-XL",
                "cjVariantKey": "Black-XL",
                "cjVariantImage": "https://cf.cjdropshipping.com/yyy.jpg",
                "relevanceStatus": "connected"
            }
        ]
    },
    "requestId": "9f8e7d6c-5b4a-3c2d-1e0f-a1b2c3d4e5f6"
}
Field Definition Type Note
id Record ID string
operationType What happened string See the table below
operationTypeDesc Description (EN) string
operationTime When long Epoch milliseconds (UTC)
shopId / shopName Store string
platformProductId / platformProductTitle / platformProductImage Store product string
platformVariantId / platformVariantSku / platformVariantTitle / platformVariantImage Store variant string
cjProductId / cjProductSpu / cjProductTitle / cjProductImage CJ product string
cjVariantId / cjVariantSku / cjVariantKey / cjVariantImage CJ variant string cjVariantId is the vid used by product APIs
relevanceStatus Connection status of the store variant at the time of this operation string After a connect operation: the status right after it; after a disconnect operation: the status right before it. connected · connectedOffShelf (connected, but the CJ product is off shelf) · unconnected · unknown

operationType

Value Meaning
manual Connected manually
publish Connected automatically when the product was listed to the store
search Sourcing Auto Connection
auto Connected automatically by the system
removeVariant Variant disconnected
removeProduct Product disconnected
externalPush Connection created or restored without a source tag, e.g. pushed by an external integration or restored automatically by CJ
other A type added later (operationTypeDesc is Other); handle it as "unknown operation"

error

{
    "code": 1600300,
    "result": false,
    "message": "at least one of shopId, platformProductId, platformVariantId, platformVariantSku, cjProductSpu, cjVariantSku is required",
    "data": null,
    "requestId": "9f8e7d6c-5b4a-3c2d-1e0f-a1b2c3d4e5f6"
}
Code Meaning What to do
1600300 No filter given, a field too long, pageSize over 50, or pageNum × pageSize over 10000 Fix the request
1600000 The store service could not be reached or returned an error Retry later; contact your agent with the requestId if it persists
Field Definition Type Length Note
code error code int 20 Reference error code
result Whether or not the return is normal boolean 1
message return message string 200
data return data object interface data return
requestId requestId string 48 Flag request for logging errors

# 4 Packaging Connection

Packaging connection capability - create / query / delete packaging connections for CJ products, plus querying the packaging already attached to variants (with remaining stock and quantity tiers, see 4.4). Please obtain the shopId via the Shop List API before calling.

Related endpoints live in the Product module: picking packaging products, browsing CJ packaging products, querying product detail and creating POD customized products do not involve shops, so they belong to the Product module - see Product module 1.8 - 1.11. Typical flow: first look up a packaging variant's SKU/vid via Product module 1.8 (variant dimension), then come back to 4.1 here to build the connection. Note that 1.9 is product dimension and returns a pid, which cannot be used as packVid - only the content[].id from 1.8 is the variant ID required for a connection (1.9's id is a pid - same name, different meaning).

# 4.1 Create Packaging Connection(POST)

Create a packaging connection for a CJ product.

# URL

https://developers.cjdropshipping.com/api2.0/v1/product/packaging/connection/create

# CURL

curl --location 'https://developers.cjdropshipping.com/api2.0/v1/product/packaging/connection/create' \
     --header 'CJ-Access-Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
     --header 'Content-Type: application/json' \
     --data '{
         "shopId": "shop01",
         "pid": "pid01",
         "vid": "vid01",
         "deductionType": 1,
         "isUpdateConnection": 1,
         "packList": [
             {
                 "packVid": "packvid01",
                 "matchingType": 0,
                 "packingType": 1
             }
         ]
     }'

# Request Parameters

parameter description type required length remark
shopId Shop ID string Y 50 Get via Shop List
pid CJ Product ID string Y 100
vid CJ Variant ID string N 100
deductionType Deduction type int Y 20 0: deduct all products together, 1: deduct per combined item
isUpdateConnection Whether to update the connection int N 20 0: do not update (keep existing), 1: update (delete then insert). If omitted, it will be passed through as-is and decided by the downstream
packList.packVid Packing variant ID string Y 100
packList.matchingType Matching type int N 20 0: match by product, 1: match by order
packList.packingType Packing type int N 20 1: default, 2: custom

# Return

success

{
    "code": 200,
    "result": true,
    "message": "Success",
    "data": 1,
    "requestId": "ae543fd1-cdd7-4a61-974a-1340fea678c6"
}

data: affected row count (int).

Note: when isUpdateConnection=1 (or omitted), the downstream first deletes the existing connections then inserts. Repeated calls rebuild the rows (primary key / create time change) but do not accumulate duplicates; duplicate submission is safe but the row ID is not guaranteed to stay the same.

# 4.2 Query Packaging Connection(POST)

Query the current customer's packaging connection status by variant/product/packing SKU.

# URL

https://developers.cjdropshipping.com/api2.0/v1/product/packaging/connection/query

# CURL

curl --location 'https://developers.cjdropshipping.com/api2.0/v1/product/packaging/connection/query' \
     --header 'CJ-Access-Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
     --header 'Content-Type: application/json' \
     --data '{
         "vidList": ["vid01", "vid02"]
     }'

# Request Parameters

parameter description type required length remark
vidList Variant ID list List<String> Y 100 at least 1. This endpoint only queries by variant ID (the downstream reads only vidList); querying by product ID or packing SKU belongs to other endpoints

# Return

success

{
    "code": 200,
    "result": true,
    "message": "Success",
    "data": [
        {
            "id": 1,
            "accountId": "cust001",
            "accountName": "cust",
            "shopId": "shop01",
            "pid": "pid01",
            "vid": "vid01",
            "packVid": "packvid01",
            "pack": "Plastic Bag",
            "packKey": "PLASTIC_BAG",
            "packSku": "CJPACK001",
            "packAttr": {
                "name": "Gift Box",
                "variantKey": "Red-XL",
                "sku": "CJPACK001",
                "imgUrl": "https://example.com/box.jpg",
                "packKey": "PLASTIC_BAG",
                "size": "10x10x5",
                "weight": 0.2,
                "sellPrice": "1.20"
            },
            "matchingType": 0,
            "packingType": 1,
            "customMessage": "Happy Birthday",
            "customDesign": null,
            "createDate": "2026-08-26 10:00:00",
            "updateDate": "2026-08-26 10:00:00",
            "updaterId": "cust001",
            "updater": "cust",
            "remark": null,
            "extendParams": {
                "deductionType": 1
            }
        }
    ],
    "requestId": "ae543fd1-cdd7-4a61-974a-1340fea678c6"
}

data: packaging connection list (array). It contains internal fields like accountId/accountName/shopId/updaterId/updater - ignore them if not needed; do not use them to judge ownership.

# 4.3 Delete Packaging Connection(POST)

Remove established packaging connections by shop + product/variant.

# URL

https://developers.cjdropshipping.com/api2.0/v1/product/packaging/connection/delete

# CURL

curl --location 'https://developers.cjdropshipping.com/api2.0/v1/product/packaging/connection/delete' \
     --header 'CJ-Access-Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
     --header 'Content-Type: application/json' \
     --data '{
         "shopId": "shop01",
         "cjProductId": "pid01",
         "cjVariantIds": ["vid01", "vid02"]
     }'

# Request Parameters

parameter description type required length remark
shopId Shop ID string Y 50
cjProductId CJ Product ID string N 100
cjVariantIds CJ Variant ID set Set<String> N 100 pass multiple to remove at once

# Return

success

{
    "code": 200,
    "result": true,
    "message": "Success",
    "data": 0,
    "requestId": "ae543fd1-cdd7-4a61-974a-1340fea678c6"
}

data: always 0 (int). Note: the downstream delPackingV2 only returns whether the deletion operation succeeded (success/fail); it does not count how many rows were actually deleted. So regardless of how many were removed — even when deletion succeeds — data is 0. Do not interpret it as the number of deleted records; rely on result/code (success or not) instead.

Note: deletion is irreversible, please call with caution.

# 4.4 Query Packaging Attached to Variants (POST)

Query the packaging already attached to variants of a shop, returning the packaging product details (including remaining stock and the quantity tiers by item count).

Difference from 4.2 (important, do not mix them up):

  • 4.2 Query Packaging Connection returns the connection records from the product center sync table (the connection relationship itself, queried by variant).
  • This endpoint (4.4) returns the shop-dimension packaging configuration details: besides the connection, it also carries packId, shop information, remain (remaining stock), qtiers (quantity tiers) and more.

Use 4.4 when you need "which packaging is configured for this variant and how much stock is left"; use 4.2 when you only need "whether the connection exists".

# URL

https://developers.cjdropshipping.com/api2.0/v1/product/packaging/connection/variantConditionPackList

# CURL

curl --location 'https://developers.cjdropshipping.com/api2.0/v1/product/packaging/connection/variantConditionPackList' \
     --header 'CJ-Access-Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
     --header 'Content-Type: application/json' \
     --data '{
         "shopId": "shop01",
         "vid": "vid01",
         "vids": ["vid02", "vid03"]
     }'

# Request Parameters

parameter description type required length remark
shopId Shop ID string Y 50 Required; a parameter error is returned if omitted
vid CJ Variant ID string N 100 At least one of vid / vids is required, see note below
vids CJ Variant ID list List<String> N 100 At least one of vid / vids is required, see note below

⚠ At least one of vid and vids must be provided. If both are empty the request fails (server-side error); it does not return an empty list. Pass vid to query a single variant, or vids for a batch query. If both are provided they are merged.

# Return

success

{
    "code": 200,
    "result": true,
    "message": "Success",
    "data": [
        {
            "packId": 123,
            "packPid": "ppid01",
            "packKey": "BOX",
            "packVid": "pvid01",
            "name": "Gift Box",
            "variantKey": "Red-L",
            "sku": "CJPACK001",
            "imgUrl": "https://cc-west-usa.oss-us-west-1.aliyuncs.com/xxx.jpg",
            "size": "10*5*3",
            "weight": 12.5,
            "sellPrice": "1.20",
            "packType": 1,
            "remain": 7,
            "height": "3",
            "long": "10",
            "width": "5",
            "deductionType": 0,
            "shopId": "shop01",
            "shopName": "MyShop",
            "platform": "shopify",
            "createDate": "2026-08-27 10:00:00",
            "incompatiblePlatformVariantIds": [],
            "qtiers": [
                { "f": 1, "t": 9999, "q": 1 }
            ]
        }
    ],
    "requestId": "ae543fd1-cdd7-4a61-974a-1340fea678c6"
}

# Response Fields

field description type remark
packId Shop packaging record ID long
packPid Packaging product ID string
packKey Packaging material string
packVid Packaging variant ID string Take content[].id from Product module 1.8 (variant dimension); do not pass the id from 1.9 (a pid)
name Product name (EN) string
variantKey Variant key string
sku Variant SKU string Prefix may vary by site, see note below
imgUrl Variant image string
size Variant specification string
weight Variant weight decimal
sellPrice Variant price string
packType Packaging type int
remain Remaining stock int
height Height string
long Length string Note the field name is literally long
width Width string
deductionType Deduction type int 0: deduct all products together, 1: combined deduction
shopId Shop ID string
shopName Shop name string
platform Platform type string
createDate Packaging creation time string
incompatiblePlatformVariantIds Incompatible platform variant ID set Set<String>
qtiers Quantity tiers by item count List see below

qtiers (quantity tiers): tiers by item count of the order, deciding how many packaging units apply to each tier. For each tier, f = range from, t = range to, q = packaging quantity for that range. f is continuous from 1 (= previous tier's t + 1), and the last tier's t is always 9999 (a finite cap, not null and not infinity). An empty qtiers, or a single default tier {f:1, t:9999, q:1}, means no customization.

Note: the prefix of sku may differ from what is displayed on the website. This field goes through affiliate SKU prefix replacement based on the site (referer) downstream, and API calls do not carry that information, so the default prefix is returned.