# CJ Products
CJ Platform allow you to list all products to your stores or system. You can easily to import CJ products by following this API.
# Description
- Category Response Parameter
Name | Data Type | Description |
---|---|---|
code | number | true is searching success, false is searching failed |
countSize | number | The base categories can be found |
data | Array | All categories can be found |
id | string | Category id |
name | string | Category name |
sonJson | Array | All sub-category under base category |
parentPid | string | Parent ID |
- CJ Products Response Parameter
Name | Data Type | Description |
---|---|---|
code | number | true is searching success, false is searching failed |
countSize | number | CJ products quantity can be found under this category ID |
data | Array | All products |
categoryId | string | Products belong to the category id |
name | string | Products name |
imgOption | string | Products images |
bigimg | string | Main image |
packingOption | Array | Available packing material |
commodityDifferenceOption | Array | Variants type such as style, color, size etc. |
commodityPropertyOption | Array | Products attributes, normally available different ones |
sku | string | Product sku |
id | string | Product id |
materialOption | Array | Product material |
category | string | Category name of this product |
descrption | string | Products description |
unit | string | Product units |
commodityData | Array | Format |
# Product Varients Format
"commodityData" : [
{
"parentID" : "336A7F14",
"price" : "1.35",
"weight" : 70,
"varietyCommodityDifferenceOption" : ["elephant"],
"img" : "https://xxx.xxx.come/xxx.jpg",
"sku" : "CJWJWJMR00049-elephant",
"packWeight" : 70,
"specifications" : ["long=","width=","height="]
}
]
- parentID : Product id
- price : Variants price
- weight : Variants weight
- varietyCommodityDifferenceOption : The options name below to the variants type
- img : Variants Images
- sku : Variants sku
- packWeight : Variants Gross Weight
- specifications : Variants Size
# View Category
POST
api/commodity/getCategory
Name | Data Type | Description |
---|---|---|
pageNum | required , number | Current page number |
pageSize | required , number | Quantity can be found on this page,pageSize has to be integer |
pageSize maxmium is 50 |
request parameter
{
"pageNum" : 1,
"pageSize" : 20
}
response parameter HTTP/1.1 200 ok
{
"code" : true,
"countSize" : 13,
"data" : [{
"id" : "B8302697-CF47-4211-9BD0-DFE8995AEB30",
"name" : "Men's Clothing",
"sonJson" : [{
"id" : "20DA7E59-3A12-40DE-B8B6-78AD03A61DB1",
"parentPid" : "B8302697-CF47-4211-9BD0-DFE8995AEB30",
"name" : "Underwear & Loungewear",
"sonJson" : [{
"id" : "0222F963-84BC-4ED8-87A0-2EE6B7890B53",
"parentPid" : "20DA7E59-3A12-40DE-B8B6-78AD03A61DB1",
"name" : "Men's Sleep & Lounge",
}]
}]
}],
"pageNum" : 3
}
# View CJ Products
POST
api/commodity/getCommodity
Name | Data Type | Description |
---|---|---|
pageNum | required , number | Current page number |
pageSize | required , number | Quantity can be found on this page,pageSize has to be integer |
pageSize maxmium is 50 | ||
categoryId | required , string(40) | Category ID, you can search all products under this category. |
request parameter
{
"pageNum" : 1,
"pageSize" : 20,
"categoryId" : "DD918287-C279-466A-B9C6-56079DE4B37A"
}
response parameter HTTP/1.1 200 ok
{
"code" : true,
"countSize" : 13,
"data" : [{
"categoryId" : "DD918287-C279-466A-B9C6-56079DE4B37A",
"name" : "Rattle toy",
"imgOption" : ["https://cc-west-usa.oss-us-west-1.aliyuncs.com/15136992/3379165317.jpg"],
"bigimg" : "https://cc-west-usa.oss-us-west-1.aliyuncs.com/15136992/3379165317990.jpg",
"packingOption" : ["plastic_bag"],
"commodityDifferenceOption" : ["Style"],
"commodityPropertyOption" : ["Ordinary"],
"sku" : "CJWJWJMR00049",
"id" : "336A7F14-E6A8-4CFB-B611-3ECD30C7C00D",
"materialOption" : ["farbic"],
"category" : "Toys, Kids & Baby / Toys & Hobbies / Stuffed & Plush Animals",
"descrption" : "children’s toys",
"unit" : "unit(s)",
"commodityData" : [{
"parentID" : "336A7F14-E6A8-4CFB-B611-3ECD30C7C00D",
"price" : "1.35",
"weight" : 70,
"varietyCommodityDifferenceOption" : ["elephant"],
"img" : "https://cc-west-usa.oss-us-west-1.aliyuncs.com/15136992/566216655777.jpg",
"sku" : "CJWJWJMR00049-elephant",
"packWeight" : 70,
"specifications" : ["long=30","width=30","height=40"]
}]
}],
"pageNum" : 3
}
# View CJ Products Details
POST
api/commodity/detail
Name | Data Type | Description |
---|---|---|
pid | required , string | CJ Product ID |
enableListing | optional , boolean | Whether the API is published |
request parameter
{
"pid" : 1
}
response parameter HTTP/1.1 200 ok
{
"code": true,
"listingMessage": "Relevant success",
"data": {
"BIGIMG": "https://cc-west-usa.oss-us-west-1.aliyuncs.com/15314112/4620387053205.jpg",
"PACKINGEN": ",plastic_bag",
"BUYTIME": "3",
"PACKWEIGHT": "50.0",
"PROPERTYEN": ",Ordinary",
"VARIANTKEY": "尺寸",
"VARIANTKEYEN": "Size",
"INVENTORY": {
"85742FBC-38D7-4DC4-9496-296186FFEED8": 928,
"{6709CCD7-0DC7-43B1-B310-17AB499E9B0A}": 13370,
"738A09F1-2834-43CC-85A8-2FE5610C2599": 0
},
"DESCRIPTION": "<ul><li>Size:L:9.5*8cm S:9*7.5cm</li><li><br></li></ul>",
"CATEGORY": "Health & Beauty, Hair / Skin Care / Body Care",
"ID": "4F53D727-1263-4B25-9857-5F5ACC970B83",
"WEIGHT": "32.0 -- 34.0",
"MATERIAL": ",布料",
"CUSTOMERTAGS": {
"{A0C84CC6-8871-4A24-BAD3-26059864CDEF}": {
"name": "Meditation",
"id": "{A0C84CC6-8871-4A24-BAD3-26059864CDEF}"
}
},
"IMG": "https://cc-west-usa.oss-us-west-1.aliyuncs.com/15314112/4620387053205.jpg",
"stanProducts": [
{
"countryInvs": {
"USA": 0,
"CHINA": 6117
},
"IMG": "https://cc-west-usa.oss-us-west-1.aliyuncs.com/15314112/962403647750.jpg",
"shopMethod": "",
"NAMEEN": "PediDoc™ - BUNION DAY CORRECTOR (1 Pair) S",
"PACKWEIGHT": 50,
"PID": "4F53D727-1263-4B25-9857-5F5ACC970B83",
"VARIANTKEY": "S",
"SELLPRICE": "2",
"sellDiscount": 100,
"freightDiscount": 100,
"ID": "A53F8890-A292-459F-B9A3-17A1B74C139D",
"SKU": "CJBJPFST00077-S",
"WEIGHT": 32,
"STANDARD": "long=,width=,height="
},
{
"countryInvs": {
"USA": 0,
"CHINA": 8181
},
"IMG": "https://cc-west-usa.oss-us-west-1.aliyuncs.com/15314112/962403647750.jpg",
"shopMethod": "",
"NAMEEN": "PediDoc™ - BUNION DAY CORRECTOR (1 Pair) L",
"PACKWEIGHT": 50,
"PID": "4F53D727-1263-4B25-9857-5F5ACC970B83",
"VARIANTKEY": "L",
"SELLPRICE": "2",
"sellDiscount": 100,
"freightDiscount": 100,
"ID": "FA8A3ADE-F324-4F56-B4CD-7ABC2BF624AF",
"SKU": "CJBJPFST00077-L",
"WEIGHT": 34,
"STANDARD": "long=,width=,height="
}
],
"UNIT": "unit(s)",
"MATERIALKEY": "FARBIC",
"PACKINGKEY": "PLASTIC_BAG",
"NAMEEN": "PediDoc™ - BUNION DAY CORRECTOR (1 Pair)",
"PROPERTY": ",普货",
"CATEGORYID": "E0238E88-0C63-427F-812E-BA1FCE4C67B4",
"MATERIALEN": ",farbic",
"isCollect": "0",
"CategoryIds": "",
"INVENTORCOUNTRY": {
"China": 14298,
"US": 0
},
"isHaveVideo": "NO_VIDEO",
"AUTHORITYSTATUS": "1",
"NAME": "拇指外翻矫正器,脚趾袜套,夹趾矫正袜硅胶",
"SELLPRICE": "2.0",
"listed": "1",
"PROPERTYKEY": "COMMON",
"entryName": "矫正器",
"PACKING": ",塑料袋",
"SKU": "CJBJPFST00077"
}
}
# Products AreaInventoryInfo
POST
api/product/getAreaInventoryInfo
Name | Data Type | Description |
---|---|---|
pid | optional , string | CJ Product ID(pick one of two) |
vid | optional , string | Variants id(pick one of two) |
request parameter
{
"vid" : "27C1E780-16CD-4E30-8FFC-D02A5F69353A"
}
response parameter HTTP/1.1 200 ok
{
"result": true,
"message": "success",
"data": [
{
"areaId": "3",
"countryCode": "TH",
"num": 1,
"entityId": "",
"areaEn": "Thailand Warehouse"
},
{
"areaId": "1",
"countryCode": "CN",
"num": 9854,
"entityId": "",
"areaEn": "China Warehouse"
}
]
}
Name | Data Type | Description |
---|---|---|
countryCode | string | Country of delivery |
num | int | in stock |
areaEn | String | Shipping warehouse |