API
查询入库轨迹
更新时间: 2017-11-22 17:00:01 访问次数:2199
接口说明

卖家提交海外仓入库单后,通过接口可以查询入库单轨迹信息,供客户了解商品入库情况。

接口英文名称

wh.tracking.queryOrderTracking

使用场景

接口用于提供给第三方平台或是卖家自有系统集成:依Winit订单号条件进行查询,返回入库单轨迹信息。最后轨迹为“海外仓上架完成”。

备注

images

请求说明
URL http://openapi.winit.com.cn/openapi/service 
接口测试 http://openapi.sandbox.winit.com.cn/openapi/service
验证方法 Token,md5
格式 json
字符编码 UTF-8
http请求方式 http
请求数限制 默认每分钟1000,有需要可申请加大。
请求入参
名称 类型 必填 说明 示例
orderNo String(50) Y 入库单号
请求示例
{
    "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 List 轨迹,以下为子节点
trackingCode String(50) Y 轨迹代码
location String(255) Y 节点位置 深圳市
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"
      }
   ]}
}

                            
关键词