API
查询轨迹(库内+派送)
更新时间: 2019-11-28 22:03:58 访问次数:8178
接口说明

卖家或第三方通过该接口可查询海外仓订单轨迹。

请求说明
URL https://openapi.winit.com.cn/openapi/service
接口测试 https://openapi.sandbox.winit.com.cn/openapi/service
接口名称 tracking.getOrderVerdorTracking
验证方法 Token,md5
格式 json
字符编码 UTF-8
http请求方式 http
请求数限制 默认每分钟1000,有需要可申请加大。
请求入参
名称 类型 必填 说明 示例
trackingnos String() Y 跟踪号
支持winit订单号和跟踪号,
支持一次查询多个跟踪号 多个跟踪号用半角逗号分隔
最多不超过30个
05000196055,05000196086
language String() N 支持三种语言:
1.zh_CN:简体中文
2.zh_TW:繁体中文
3.en_US:英文
目前仅支持Winit物流轨迹的多语言,物流商返回的轨迹为原始轨迹,暂不支持多语言
zh_CN
请求示例
{
      "action": "tracking.getOrderVerdorTracking",
      "app_key": "rebecca",
      "client_id": "ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
      "data": {
          "trackingnos": "WO0000000037"
  },
      "format": "json",
      "language": "zh_CN",
      "platform": "OWNERERP",
      "sign": "511AF2B9995E08EC53D9F0558F56B1B8",
      "client_sign":"AC9B73944FC7350A77788D7FE4872135",    
      "sign_method": "md5",
      "timestamp": "2016-07-10 23:04:52",
      "version": "1.0"
  }

            
返回出参
名称 类型 必填 说明 示例
orderNo String(32) Y 订单号
trackingNo String(50) Y 追踪号
origin String(32) Y 起始地
destination String(32) Y 目的地
carrier String(64) Y 承运人
pickupMode String(20) Y 揽收方式
status String(16) Y 订单状态
轨迹trace
--|date String(20) 日期
--|eventCode String(10) 轨迹编码
详见 轨迹编码说明
出库单状态列表
--|eventDescription String(100) 轨迹描述
--|eventStatus String(100) 轨迹状态
--|location String(100) 地点
--|lastEvent String(1) 最后轨迹(Y/N),Y表示当前订单后续不再有轨迹更新
返回示例
{
     "code": "0",
     "msg": "操作成功",
     "data": [   {
        "masterOrderNo": "WO0000000037",
        "orderNo": "WO0000000037A",
        "trackingNo": "Z68223Y0323227683",
        "origin": "US",
        "destination": "United States",
        "pickupMode": null,
        "status": "派送中",
        "vendorName": null,
        "trace":       [
                    {
              "type": "S",
              "date": "2019-05-06 18:23:50",
              "location": "USWC Warehouse",
              "lastEvent": "N",
              "eventCode": "DLI",
              "eventStatus": "派送中",
              "eventDescription": "派送中",
              "operator": "system",
              "trackingType": null
           },
                    {
              "type": "S",
              "date": "2019-05-06 18:23:50",
              "location": "USWC Warehouse",
              "lastEvent": "N",
              "eventCode": "DIC",
              "eventStatus": null,
              "eventDescription": "发货完成",
              "operator": "system",
              "trackingType": null
           },
                    {
              "type": "S",
              "date": "2019-05-06 18:23:43",
              "location": "USWC Warehouse",
              "lastEvent": "N",
              "eventCode": "PAC",
              "eventStatus": null,
              "eventDescription": "打包完成",
              "operator": "la34",
              "trackingType": null
           },
                    {
              "type": "S",
              "date": "2019-05-06 18:23:32",
              "location": "USWC Warehouse",
              "lastEvent": "N",
              "eventCode": "PKC",
              "eventStatus": null,
              "eventDescription": "拣选完成",
              "operator": "la34",
              "trackingType": null
           },
                    {
              "type": "S",
              "date": "2019-05-06 03:18:31",
              "location": "USWC Warehouse",
              "lastEvent": "N",
              "eventCode": "SO",
              "eventStatus": null,
              "eventDescription": "提交订单",
              "operator": "rebecca",
              "trackingType": null
           }
        ],
        "occurTime": null,
        "logisticsStatus": null,
        "logisticsMess": null,
        "airLines": null,
        "flight": null,
        "expressCompany": null,
        "carrier": null,
        "carrierCode": null,
        "standardCarrier": null,
        "trackingUrl": null,
        "isTracked": null
     }]
  }
  
  
  其他入参参考:
  {
     "code": "0",
     "msg": "操作成功",
     "data":    [
              {
           "masterOrderNo": "WO1655153080",
           "orderNo": "WO1655153080A",
           "trackingNo": "9205590232843346676480",
           "origin": "US",
           "destination": "United States",
           "pickupMode": null,
           "status": "派送完成",
           "vendorName": null,
           "trace":          [
                          {
                 "type": "S",
                 "date": "2019-05-08 03:08:49",
                 "location": "USKY3 Warehouse",
                 "lastEvent": "N",
                 "eventCode": "SO",
                 "eventStatus": null,
                 "eventDescription": "提交订单",
                 "operator": "3238372021@qq.com",
                 "trackingType": null
              },
                          {
                 "type": "S",
                 "date": "2019-05-08 10:10:42",
                 "location": "USKY3 Warehouse",
                 "lastEvent": "N",
                 "eventCode": "PKC",
                 "eventStatus": null,
                 "eventDescription": "拣选完成",
                 "operator": "michael.a3",
                 "trackingType": null
              },
                          {
                 "type": "S",
                 "date": "2019-05-08 12:11:49",
                 "location": "USKY3 Warehouse",
                 "lastEvent": "N",
                 "eventCode": "PAC",
                 "eventStatus": null,
                 "eventDescription": "打包完成",
                 "operator": "bertha.b3",
                 "trackingType": null
              },
                          {
                 "type": "S",
                 "date": "2019-05-08 16:55:02",
                 "location": "USKY3 Warehouse",
                 "lastEvent": "N",
                 "eventCode": "DIC",
                 "eventStatus": null,
                 "eventDescription": "发货完成",
                 "operator": "system",
                 "trackingType": null
              },
                          {
                 "type": "S",
                 "date": "2019-05-08 16:55:02",
                 "location": "USKY3 Warehouse",
                 "lastEvent": "N",
                 "eventCode": "DLI",
                 "eventStatus": "派送中",
                 "eventDescription": "派送中",
                 "operator": "system",
                 "trackingType": null
              },
                          {
                 "type": "V",
                 "date": "2019-05-09 00:00:00",
                 "location": " ",
                 "lastEvent": "N",
                 "eventCode": "MA",
                 "eventStatus": null,
                 "eventDescription": "Pre-Shipment Info Sent to USPS, USPS Awaiting Item",
                 "operator": null,
                 "trackingType": null
              },
                          {
                 "type": "V",
                 "date": "2019-05-09 23:52:00",
                 "location": "DENVER CO NETWORK DISTRIBUTION CENTER",
                 "lastEvent": "N",
                 "eventCode": "10",
                 "eventStatus": null,
                 "eventDescription": "Arrived at USPS Regional Destination Facility",
                 "operator": null,
                 "trackingType": "Ascan"
              },
                          {
                 "type": "V",
                 "date": "2019-05-10 05:06:00",
                 "location": "DENVER CO NETWORK DISTRIBUTION CENTER",
                 "lastEvent": "N",
                 "eventCode": "T1",
                 "eventStatus": null,
                 "eventDescription": "Departed USPS Regional Facility",
                 "operator": null,
                 "trackingType": null
              },
                          {
                 "type": "V",
                 "date": "2019-05-10 06:15:00",
                 "location": "DENVER CO  DISTRIBUTION CENTER",
                 "lastEvent": "N",
                 "eventCode": "U1",
                 "eventStatus": null,
                 "eventDescription": "Arrived at USPS Regional Facility",
                 "operator": null,
                 "trackingType": null
              },
                          {
                 "type": "V",
                 "date": "2019-05-10 07:44:00",
                 "location": "DENVER",
                 "lastEvent": "N",
                 "eventCode": "07",
                 "eventStatus": null,
                 "eventDescription": "Arrived at Post Office",
                 "operator": null,
                 "trackingType": null
              },
                          {
                 "type": "V",
                 "date": "2019-05-10 09:39:00",
                 "location": "DENVER",
                 "lastEvent": "N",
                 "eventCode": "PC",
                 "eventStatus": null,
                 "eventDescription": "Sorting Complete",
                 "operator": null,
                 "trackingType": null
              },
                          {
                 "type": "V",
                 "date": "2019-05-10 09:49:00",
                 "location": "DENVER",
                 "lastEvent": "N",
                 "eventCode": "OF",
                 "eventStatus": null,
                 "eventDescription": "Out for Delivery",
                 "operator": null,
                 "trackingType": null
              },
                          {
                 "type": "V",
                 "date": "2019-05-10 13:24:00",
                 "location": "DENVER",
                 "lastEvent": "Y",
                 "eventCode": "DLC",
                 "eventStatus": "派送完成",
                 "eventDescription": "派送完成",
                 "operator": null,
                 "trackingType": "Dscan"
              }
           ],
           "occurTime": null,
           "logisticsStatus": null,
           "logisticsMess": null,
           "airLines": null,
           "flight": null,
           "expressCompany": null,
           "carrier": null,
           "carrierCode": "United States Postal Service",
           "standardCarrier": "USPS",
           "trackingUrl": "https://www.usps.com",
           "isTracked": "Y"
        },
              {
           "masterOrderNo": "WO1694058642",
           "orderNo": "WO1694058642A",
           "trackingNo": "00340434281410628217",
           "origin": "BE",
           "destination": "Germany",
           "pickupMode": null,
           "status": "派送中",
           "vendorName": null,
           "trace":          [
                          {
                 "type": "S",
                 "date": "2019-05-22 11:28:13",
                 "location": "BEMO Warehouse",
                 "lastEvent": "N",
                 "eventCode": "SO",
                 "eventStatus": null,
                 "eventDescription": "提交订单",
                 "operator": "20016002@qq.com",
                 "trackingType": null
              },
                          {
                 "type": "S",
                 "date": "2019-05-22 13:21:33",
                 "location": "BEMO Warehouse",
                 "lastEvent": "N",
                 "eventCode": "PKC",
                 "eventStatus": null,
                 "eventDescription": "拣选完成",
                 "operator": "RVA",
                 "trackingType": null
              },
                          {
                 "type": "S",
                 "date": "2019-05-22 13:38:00",
                 "location": "BEMO Warehouse",
                 "lastEvent": "N",
                 "eventCode": "PAC",
                 "eventStatus": null,
                 "eventDescription": "打包完成",
                 "operator": "OPE1",
                 "trackingType": null
              },
                          {
                 "type": "S",
                 "date": "2019-05-22 15:04:48",
                 "location": "BEMO Warehouse",
                 "lastEvent": "N",
                 "eventCode": "DIC",
                 "eventStatus": null,
                 "eventDescription": "发货完成",
                 "operator": "system",
                 "trackingType": null
              },
                          {
                 "type": "S",
                 "date": "2019-05-22 15:04:48",
                 "location": "BEMO Warehouse",
                 "lastEvent": "N",
                 "eventCode": "DLI",
                 "eventStatus": "派送中",
                 "eventDescription": "派送中",
                 "operator": "system",
                 "trackingType": null
              }
           ],
           "occurTime": null,
           "logisticsStatus": null,
           "logisticsMess": null,
           "airLines": null,
           "flight": null,
           "expressCompany": null,
           "carrier": null,
           "carrierCode": null,
           "standardCarrier": null,
           "trackingUrl": null,
           "isTracked": null
        },
              {
           "masterOrderNo": "WO1693705396",
           "orderNo": "WO1693705396A",
           "trackingNo": "WO01031653362037DE",
           "origin": "DE",
           "destination": "Germany",
           "pickupMode": "供应商揽收",
           "status": "已出库",
           "vendorName": null,
           "trace":          [
                          {
                 "type": "S",
                 "date": "2019-05-22 08:58:40",
                 "location": "DE Warehouse",
                 "lastEvent": "N",
                 "eventCode": "SO",
                 "eventStatus": null,
                 "eventDescription": "提交订单",
                 "operator": "shenzhenxiaohuang@gmail.com",
                 "trackingType": null
              },
                          {
                 "type": "S",
                 "date": "2019-05-22 09:17:46",
                 "location": "DE Warehouse",
                 "lastEvent": "N",
                 "eventCode": "PKC",
                 "eventStatus": null,
                 "eventDescription": "拣选完成",
                 "operator": "ionela",
                 "trackingType": null
              },
                          {
                 "type": "S",
                 "date": "2019-05-22 11:12:35",
                 "location": "DE Warehouse",
                 "lastEvent": "N",
                 "eventCode": "PAC",
                 "eventStatus": null,
                 "eventDescription": "打包完成",
                 "operator": "ilieva",
                 "trackingType": null
              },
                          {
                 "type": "S",
                 "date": "2019-05-22 12:52:37",
                 "location": "DE Warehouse",
                 "lastEvent": "N",
                 "eventCode": "DIC",
                 "eventStatus": null,
                 "eventDescription": "发货完成",
                 "operator": "system",
                 "trackingType": null
              },
                          {
                 "type": "S",
                 "date": "2019-05-22 12:52:37",
                 "location": "DE Warehouse",
                 "lastEvent": "N",
                 "eventCode": "DLI",
                 "eventStatus": "派送中",
                 "eventDescription": "派送中",
                 "operator": "system",
                 "trackingType": null
              },
                          {
                 "type": "S",
                 "date": "2019-05-22 12:52:37",
                 "location": null,
                 "lastEvent": "N",
                 "eventCode": "AS",
                 "eventStatus": "货物已收到",
                 "eventDescription": "货物已收到",
                 "operator": null,
                 "trackingType": null
              },
                          {
                 "type": "S",
                 "date": "2019-05-22 12:52:38",
                 "location": null,
                 "lastEvent": "Y",
                 "eventCode": "GAO",
                 "eventStatus": "已出库",
                 "eventDescription": "Shipped via [Deutsche Post AG]",
                 "operator": null,
                 "trackingType": null
              }
           ],
           "occurTime": null,
           "logisticsStatus": null,
           "logisticsMess": null,
           "airLines": null,
           "flight": null,
           "expressCompany": null,
           "carrier": null,
           "carrierCode": null,
           "standardCarrier": null,
           "trackingUrl": null,
           "isTracked": null
        },
              {
           "masterOrderNo": "WO1686216822",
           "orderNo": "WO1686216822A",
           "trackingNo": "CD841635932DE",
           "origin": "DE",
           "destination": "Lithuania",
           "pickupMode": null,
           "status": null,
           "vendorName": null,
           "trace":          [
                          {
                 "type": "S",
                 "date": "2019-05-20 06:01:08",
                 "location": "DE Warehouse",
                 "lastEvent": "N",
                 "eventCode": "SO",
                 "eventStatus": null,
                 "eventDescription": "提交订单",
                 "operator": "hope@dhcoo.com",
                 "trackingType": null
              },
                          {
                 "type": "S",
                 "date": "2019-05-20 09:10:56",
                 "location": "DE Warehouse",
                 "lastEvent": "N",
                 "eventCode": "PKC",
                 "eventStatus": null,
                 "eventDescription": "拣选完成",
                 "operator": "ikov",
                 "trackingType": null
              },
                          {
                 "type": "S",
                 "date": "2019-05-20 11:42:56",
                 "location": "DE Warehouse",
                 "lastEvent": "N",
                 "eventCode": "PAC",
                 "eventStatus": null,
                 "eventDescription": "打包完成",
                 "operator": "florentin",
                 "trackingType": null
              },
                          {
                 "type": "S",
                 "date": "2019-05-20 13:44:44",
                 "location": "DE Warehouse",
                 "lastEvent": "N",
                 "eventCode": "DLI",
                 "eventStatus": "派送中",
                 "eventDescription": "派送中",
                 "operator": "system",
                 "trackingType": null
              },
                          {
                 "type": "S",
                 "date": "2019-05-20 13:44:44",
                 "location": "DE Warehouse",
                 "lastEvent": "N",
                 "eventCode": "DIC",
                 "eventStatus": null,
                 "eventDescription": "发货完成",
                 "operator": "system",
                 "trackingType": null
              },
                          {
                 "type": "V",
                 "date": "2019-05-20 20:11:00",
                 "location": "",
                 "lastEvent": "N",
                 "eventCode": "PARCV-NRQRD",
                 "eventStatus": null,
                 "eventDescription": "The instruction data for this shipment have been provided by the sender to DHL electronically",
                 "operator": null,
                 "trackingType": null
              },
                          {
                 "type": "S",
                 "date": "2019-05-20 20:47:43",
                 "location": "DE Warehouse",
                 "lastEvent": "N",
                 "eventCode": "RD",
                 "eventStatus": null,
                 "eventDescription": "退货到仓",
                 "operator": null,
                 "trackingType": null
              }
           ],
           "occurTime": null,
           "logisticsStatus": null,
           "logisticsMess": null,
           "airLines": null,
           "flight": null,
           "expressCompany": null,
           "carrier": null,
           "carrierCode": "10000552",
           "standardCarrier": "DE DHL",
           "trackingUrl": "https://www.dhl.de/de/privatkunden.html",
           "isTracked": "Y"
        }
     ]
  }