API
查询入库轨迹
更新时间: 2019-10-16 20:28:08 访问次数:5312
接口说明

卖家提交海外仓入库单后,通过Winit订单号查询入库单轨迹信息,以便了解商品入库情况。最后轨迹为“海外仓上架完成”。



请求说明
URL https://openapi.winit.com.cn/openapi/service 
接口测试 https://openapi.sandbox.winit.com.cn/openapi/service
接口名

wh.tracking.queryOrderTracking

验证方法 Token,md5
格式 json
字符编码 UTF-8
http请求方式 http
请求数限制 默认每分钟1000,有需要可申请加大。
请求入参
名称 类型 必填 说明 示例
orderNo String(50) Y 入库单号 WI9900001722
请求示例
{
    "action": "wh.tracking.queryOrderTracking",
    "app_key": "rebecca",
    "client_id":"ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
    "client_sign":"8F845D8500A505A9D0164CF8B443A9B7",
    "data": {
        "orderNo": "WI9900001722"
    },
    "format": "json",
    "platform": "OWNERERP",
    "sign": "2FAA4C039320B2DB91F9DEF03DFEE21C",
    "sign_method": "md5",
    "timestamp": "2016-11-30 17:42:56",
    "version": "1.0"
}

                            
返回出参
名称 类型 必填 说明 示例
trackingList

trackingCode String(50) Y 轨迹代码 OWS
location String(255) Y 节点位置 LAX
trackingDesc String(255) Y 节点描述 海外仓上架完成
date String(50) Y 节点时间 2017-08-14 17:26:34
返回示例
{
   "code": "0",
   "msg": "操作成功",
   "data": {"trackingList":    [
            {
         "date": "2019-06-16 20:59:59",
         "trackingDesc": "已到海外仓",
         "location": "City of Industry",
         "trackingCode": "OWA"
      },
            {
         "date": "2019-06-17 16:38:08",
         "trackingDesc": "创建订单",
         "location": null,
         "trackingCode": "CO"
      },
            {
         "date": "2019-06-17 16:38:18",
         "trackingDesc": "提交订单",
         "location": null,
         "trackingCode": "SO"
      },
            {
         "date": "2019-06-17 16:38:33",
         "trackingDesc": "验货仓收货完成",
         "location": "SHENZHEN",
         "trackingCode": "RS"
      },
            {
         "date": "2019-06-17 16:39:09",
         "trackingDesc": "查验完成",
         "location": "SHENZHEN",
         "trackingCode": "CS"
      },
            {
         "date": "2019-06-17 16:39:29",
         "trackingDesc": "验箱完成",
         "location": "SHENZHEN",
         "trackingCode": "IS"
      },
            {
         "date": "2019-06-17 16:40:01",
         "trackingDesc": "查验中",
         "location": "SHENZHEN",
         "trackingCode": "CK"
      },
            {
         "date": "2019-06-17 16:44:48",
         "trackingDesc": "验货仓出库完成",
         "location": "SHENZHEN",
         "trackingCode": "IWO"
      },
            {
         "date": "2019-06-17 16:45:01",
         "trackingDesc": "出口清关完成",
         "location": null,
         "trackingCode": "ECC"
      },
            {
         "date": "2019-06-17 16:46:04",
         "trackingDesc": "海外港在途",
         "location": "SZX",
         "trackingCode": "OPT"
      },
            {
         "date": "2019-06-17 16:46:08",
         "trackingDesc": "已到海外港",
         "location": "LAX",
         "trackingCode": "TOP"
      },
            {
         "date": "2019-06-17 16:46:10",
         "trackingDesc": "进口清关完成",
         "location": "City of Industry",
         "trackingCode": "ICC"
      },
            {
         "date": "2019-06-17 16:46:42",
         "trackingDesc": "海外仓上架完成​",
         "location": null,
         "trackingCode": "OWS"
      }
   ]}
}

                            
关键词