English
  • Login
  • |
  • Register

1Tracking API

Enter Tracking NO.

URI:

Method:

Description:

/track/set

POST

Import logistics single number information and scan track results regularly.

Request Body

[

{

  • "trackNum": "Tracking number",//Required
  • "innerNum": "internal number",//Optional
  • "ondate":shipment time"//Optional,
  • "language": "Language default",//Optional
  • "code": "courier code",//Required
  • "email": "Email" //Optional, only used to automatically send letters to customers.,
  • "result": "【0-Not found,10-In transit,8-In transit,20-Undelivered, 30-Pick up,40-Delivered,50-Alert,65-Returned】",
  • "country": "destination country code",//Required
  • "continue": "Whether to continue scanning after Delivered, default(F) false,optional, change default(T) ture",
  • "state": "import status, default(10) 【10-Insert Tracks info 20-Update logistics code 30-Stop tracks updating 40-Delete tracks info 50-Update tracks result】"

}

]

Response 200
body:

{

"data":[

{

  • "code":10,
  • "desc":"Insert Tracks info",
  • "count":20

},

{

  • "code":20,
  • "desc":"Update logistics code",
  • "count":0

},

{

  • "code":30,
  • "desc":"Stop tracks updating",
  • "count":0

}.

{

  • "code":40,
  • "desc":"Delete tracks info",
  • "count":0

}.

{

  • "code":50,
  • "desc":"Update tracks result",
  • "count":0

}

],

"status":{

"code":200,

"msg":"Success."

}

}