# Product

CJ API allow customers to create their own products. Those products are used for Products Connection. Please note CJ PLATFORM pull orders only basing on the products connection, orders without products connection will not be available to CJ PLATFORM. Once the orders pulled into our CJ PLATFORM

# Description

  • request parameter
Name Data Type Description
uid required , string(30) Product Unique ID
title required , string(500) Products Title
image required , string(400) image
prices required , string(20) Products Price, Interval Value Like $10-20 is available
tags optional , string(2000) Products Tags
productType optional , string(200) Products Type
categoryId optional , string(50) Categories
variants required , Array Format

# request variants format

"variants" : [
    {
    "vid" : "122313",
    "price" : "250",
    "sku" : "35311310",
    "title" : "title",
    "grams" : "10",
    "oldinventoryquantity" : "10",
    "image" : "http://xxx.xxxxx.com/xxx/xxx.png"
    }
]
  • vid : Variants ID required string(30)

  • price : Variant Price required string(10)

  • sku : Variant SKU, it will be used for excel drop shipping orders processing optional string(150)

  • title : Variant Title required string(200)

  • grams : Variant Weight required string(10)

  • oldinventoryquantity : Variants Inventory required string(10)

  • image : Variant Images required string(400)

  • response parameter

Name Data Type Description
uid string Product Unique ID
tags string Product Tags
title string Product Title
shopType string Store Type
image string Product Images
prices string Product Price
createDate string Product Created Date
productType string Product Type
variants Array Format

# response variants format

"variants" : [
    {
    "vid" : "7407528575033",
    "price" : "20.9",
    "sku" : "NA_OBCASIE_Z_FRĘDZLEM_C77P_GREY",
    "title" : "35",
    "grams" : "0",
    "oldinventoryquantity" : "10",
    "image" : "http://xxx.xxxxx.com/xxx/xxx.png"
    }
]
  • vid : Variants ID
  • price : Variant Price
  • sku : Variant SKU
  • title : Variant Title
  • grams : Variant Weight
  • oldinventoryquantity : Variants Inventory
  • image : Variant Images

# Add Shop Products

POST api/product/createProducts

Create an product.
required parameter : Parameter

# Create product format

request parameter

[
    {
    "uid" : "12313" ,
    "title" : "596178796589" ,
    "image" : "http://xxx.xxxxx.com/xxx/xxx.png" ,
    "prices" : "250" ,
    "tags" : "boots" ,
    "productType" : "water" ,
    "categoryId" : "123131" ,
    "variants" : [{
    "vid" : "3123131" ,
    "price" : "200" ,
    "sku" : "123131" ,
    "title" : "titlr" ,
    "grams" : "grams" ,
    "oldinventoryquantity" : "10" ,
    "image" : "http://xxx.xxxxx.com/xxx/xxx.png"
    },{
    "vid" : "3123131" ,
    "price" : "200" ,
    "sku" : "123131" ,
    "title" : "titlr" ,
    "grams" : "grams" ,
    "oldinventoryquantity" : "10" ,
    "image" : "http://xxx.xxxxx.com/xxx/xxx.png"
    }]
    }
]

response parameter HTTP/1.1 200 ok

[
    {
    "uid" : "596178796589",
    "message" : [],
    "result" : true
    }
]

# View Shop Products

POST api/product/queryProducts

Name Data Type Description
uid required , string(30) Product Unique ID

request parameter

[
  "602428080185"
]

response parameter HTTP/1.1 200 ok

[
    {
    "uid" : "12313" ,
    "id" : "0002684a8a364bb496cc1fc7533edbf6" ,
    "tags" : "boots" ,
    "title" : "Musketeer boots model 102436 Inello" ,
    "shopType" : "shopify" ,
    "image" : "http://xxx.xx.com/xxx.png" ,
    "prices" : "20.9" ,
    "createDate" : "2018-06-01 20:04:35" ,
    "productType" : "Over the Knee High Boots, Thigh High Boots" ,
    "variants" : [{
    "title" : "35" ,
    "price" : "20.9" ,
    "oldInventoryQuantity" : "1" ,
    "image" : "http://xxx.xx.com/xxx.png" ,
    "grams" : "0" ,
    "sku" : "Inello_MUSZKIETERKI_NA_OBCASIE_Z_FRĘDZLEM_C77P_GREY" ,
    "vid" : "7407528575033" ,
    "productId" : "602428080185" ,
    },{
    "title" : "37" ,
    "price" : "20.9" ,
    "oldInventoryQuantity" : "1" ,
    "image" : "http://xxx.xx.com/xxx.png" ,
    "grams" : "0" ,
    "sku" : "Inello_MUSZKIETERKI_NA_OBCASIE_Z_FRĘDZLEM_C77P_GREY" ,
    "vid" : "7407528607801" ,
    "productId" : "602428080185" ,
    }]
    }
]

# Modify Shop Products

POST api/product/upProductsInfo

Update an products.
required parameter : Parameter

# Modify Products format

request parameter

[
    {
    "uid" : "12313" ,
    "title" : "596178796589" ,
    "image" : "http://xxx.xxxxx.com/xxx/xxx.png" ,
    "prices" : "250" ,
    "tags" : "tags" ,
    "productType" : "water" ,
    "categoryId" : "123131" ,
    "variants" : [{
    "vid" : "3123131" ,
    "price" : "200" ,
    "sku" : "123131" ,
    "title" : "titlr" ,
    "grams" : "grams" ,
    "oldinventoryquantity" : "10" ,
    "image" : "http://xxx.xxxxx.com/xxx/xxx.png"
    },{
    "vid" : "3123131" ,
    "price" : "200" ,
    "sku" : "123131" ,
    "title" : "titlr" ,
    "grams" : "grams" ,
    "oldinventoryquantity" : "10" ,
    "image" : "http://xxx.xxxxx.com/xxx/xxx.png"
    }]
   }
]

response parameter HTTP/1.1 200 ok

[
    {
    "uid" : "596178796589",
    "message" : [],
    "result" : true
    }
]

# Delete Shop Products

POST api/product/deleteProducts

Name Data Type Description
uid required , string(30) Product Unique ID

request parameter

[
  "1231231"
]

response parameter HTTP/1.1 200 ok

{
    "result" : true
}

# List Products

POST api/product/connectList

Name Data Type Description
type optional , Integer(1) 0-connet list,1-sku list
all optional , Integer(1) 0-Default Query paging,1-Query all
productId optional , String product ID
variantId optional , String variant ID
sku optional , String variant SKU
offset optional , Integer page
title optional , String product name

request parameter

{
    "type": 0,
    "offset": 1,
    "variantId": "29029114839093"
}

response parameter HTTP/1.1 200 ok

{
    "result": true,
    "message": "success",
    "data": [
        {
            "img": "https://cc-west-usa.oss-us-west-1.aliyuncs.com/15620832/149514990072.jpg",
            "productId": "3761253285941",
            "price": "34.50",
            "packgeWeight": 600,
            "variantId": "29029114839093",
            "title": "toy",
            "sku": "CJWJWJMR00280-Fly Ash Mixing-Chinese"
        }
    ]
}

POST api/product/queryHomeProducts

  • request parameter
Name Data Type Description
type required , string Product Type

Dropshipping: Trending Products

{
    "type": "Dropshipping"
}
  • response parameter HTTP/1.1 200 ok
Name Data Type Description
id string Product id
flag string Product flag :

0: is Sourcing Products

1: is not Sourcing Products

start_time string Product shelf time
stop_time string Product shelf time
productId string Product id
isPersonalized string whether or not personalise product :

0 : no

0 : yes

nameEn Local Product english name
saleStatus string Product sales status
sort string Product sort
isHaveVideo string Product is have video :

NO_VIDEO: not have video

HAVE_VIDEO: have video

type string Product type :

al: is Sourcing Products

loc: is not Sourcing Products

SELLPRICE string Product sell price
bigImg string Product image url
PROPERTYKEY string Product attributes
timeFlag string Product type :

Dropshipping: Trending products

month: New products

source: Sourcing products

{
    "result": true,
    "message": "success",
    "data": {
        "Dropshipping": [
            {
                "flag": "1",
                "stop_time": "2019-11-22 18:17:00",
                "productId": "64D33F89-CB6A-4019-9D9C-AA178858E6BD",
                "num": 0,
                "isPersonalized": "1",
                "nameEn": "Personalized Name necklace,Custom Birthstone Name Pendant,BirtPersonalized Name necklace,Custom Birthstone Name Pendant,Birthstone Charm,Name Heart jewelryhstone Charm,Name Heart jewelry",
                "saleStatus": "3",
                "sort": 1,
                "isHaveVideo": "NO_VIDEO",
                "type": "loc",
                "SELLPRICE": "4.34",
                "bigImg": "https://cc-west-usa.oss-us-west-1.aliyuncs.com/20190809/995843463062.jpg",
                "start_time": "2019-11-21 18:17:00",
                "PROPERTYKEY": "COMMON",
                "yiXiaJia": "0",
                "id": "64D33F89-CB6A-4019-9D9C-AA178858E6BD",
                "timeFlag": "Dropshipping"
            }
        ]
    }
}