# Logistics
CJ PLATFORM allow customer to view shipping method, tracking numbers and shipping price.
# Description
- request parameter
Name | Data Type | Description |
---|---|---|
uid | required , string(30) | The ID of the order, used for API purposes. This is different from the orderNumber property, which is a unique identifier for the order that's used by the shop owner and customer |
- response parameter
Name | Data Type | Description |
---|---|---|
uid | string | The ID of the order, used for API purposes. This is different from the orderNumber property, which is a unique identifier for the order that's used by the shop owner and customer |
id | string | CJ Order Number |
orderNumber | string | A unique identifier for the order, used by the shop owner and customer. This is different from the uid property, which is the unique identifier used for API purposes. |
logisticName | string | Shipping Method |
postage | number | Shipping Cost |
trackingnumber | string | Tracking Number |
# Viewing Shipping
POST
api/order/queryLogistics
Name | Data Type | Description |
---|---|---|
uid | required , string(30) | The ID of the order, used for API purposes. This is different from the orderNumber property, which is a unique identifier for the order that's used by the shop owner and customer |
request parameter
[
"315176419381"
]
response parameter HTTP/1.1 200 ok
[
{
"uid" : "315176419381" ,
"id" : "180000000000000000" ,
"orderNumber" : "1115" ,
"logisticName" : "ePacket" ,
"postage" : 4.59 ,
"trackingnumber" : "131313124141" ,
}
]
# Logistics Track
GET
/api/logistic/track
Name | Data Type | Description |
---|---|---|
trackNumbers | required , string | CJ order number or tracking number, up to 20 checks at a time |
request parameter
{
"trackNumbers" : "JD014600006922346478,123"
}
response parameter HTTP/1.1 200 ok
{
"result" : true ,
"message" : "success" ,
"data" : [
{
"logisticsName" : "DHL Official" ,
"trackNumber" : "JD014600006922346478" ,
"id" : "190510134916717093" ,
"trackUrl" : "https://t.17track.net/zh-cn#nums=JD014600006922346478" ,
"searchNo" : "JD014600006922346478" ,
"route" :[
{
"acceptAddress" : "ZHEJIANG PROVINCE-CHN" ,
"acceptTime" : "2019-05-23 19:04:07" ,
"remark" : "Shipment picked up"
}
]
},
{
"error" : "notfound" ,
"searchNo" : "123"
}
]
}
HTTP/1.1 200 false
{
"result" : false ,
"message" : "trackNumber can not empty" ,
"data" : []
}