API
查询入库轨迹
更新时间: 2023-08-27 20:30:34 访问次数:7678

接口说明

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

接口名称

wh.tracking.queryOrderTracking

请求说明

请求内容 说明
URL https://openapi.winit.com.cn/openapi/service
接口测试 https://sandboxopenapi.winit.com.cn/openapi/service
验证方法 Token,md5
格式 json
字符编码 UTF-8
http请求方式 http
请求数限制 默认每分钟1000,1000有需要可申请加大。

请求入参

名称 类型 必填 说明 示例
orderNo String(50) Y 入库单号 WI9900001722

请求示例

  1. {
  2. "action": "wh.tracking.queryOrderTracking",
  3. "app_key": "rebecca",
  4. "client_id":"ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
  5. "client_sign":"8F845D8500A505A9D0164CF8B443A9B7",
  6. "data": {
  7. "orderNo": "WI9900001722"
  8. },
  9. "format": "json",
  10. "platform": "OWNERERP",
  11. "sign": "2FAA4C039320B2DB91F9DEF03DFEE21C",
  12. "sign_method": "md5",
  13. "timestamp": "2016-11-30 17:42:56",
  14. "version": "1.0"
  15. }

返回出参

返回参数说明:正确的返回编码code:0及结果data,错误的返回错误码及错误信息msg。

名称 类型 必传 说明 示例
trackingList Array Y 轨迹list
trackingCode String(50) Y 轨迹代码 OWS
location String(255) Y 节点位置 LAX
trackingDesc String(255) Y 节点描述 海外仓上架完成
date String(50) Y 节点时间 2017-08-14 17:26:34

返回示例

  1. {
  2. "code": "0",
  3. "msg": "操作成功",
  4. "data": {"trackingList": [
  5. {
  6. "date": "2019-06-16 20:59:59",
  7. "trackingDesc": "已到海外仓",
  8. "location": "City of Industry",
  9. "trackingCode": "OWA"
  10. },
  11. {
  12. "date": "2019-06-17 16:38:08",
  13. "trackingDesc": "创建订单",
  14. "location": null,
  15. "trackingCode": "CO"
  16. },
  17. {
  18. "date": "2019-06-17 16:38:18",
  19. "trackingDesc": "提交订单",
  20. "location": null,
  21. "trackingCode": "SO"
  22. },
  23. {
  24. "date": "2019-06-17 16:38:33",
  25. "trackingDesc": "验货仓收货完成",
  26. "location": "SHENZHEN",
  27. "trackingCode": "RS"
  28. },
  29. {
  30. "date": "2019-06-17 16:39:09",
  31. "trackingDesc": "查验完成",
  32. "location": "SHENZHEN",
  33. "trackingCode": "CS"
  34. },
  35. {
  36. "date": "2019-06-17 16:39:29",
  37. "trackingDesc": "验箱完成",
  38. "location": "SHENZHEN",
  39. "trackingCode": "IS"
  40. },
  41. {
  42. "date": "2019-06-17 16:40:01",
  43. "trackingDesc": "查验中",
  44. "location": "SHENZHEN",
  45. "trackingCode": "CK"
  46. },
  47. {
  48. "date": "2019-06-17 16:44:48",
  49. "trackingDesc": "验货仓出库完成",
  50. "location": "SHENZHEN",
  51. "trackingCode": "IWO"
  52. },
  53. {
  54. "date": "2019-06-17 16:45:01",
  55. "trackingDesc": "出口清关完成",
  56. "location": null,
  57. "trackingCode": "ECC"
  58. },
  59. {
  60. "date": "2019-06-17 16:46:04",
  61. "trackingDesc": "海外港在途",
  62. "location": "SZX",
  63. "trackingCode": "OPT"
  64. },
  65. {
  66. "date": "2019-06-17 16:46:08",
  67. "trackingDesc": "已到海外港",
  68. "location": "LAX",
  69. "trackingCode": "TOP"
  70. },
  71. {
  72. "date": "2019-06-17 16:46:10",
  73. "trackingDesc": "进口清关完成",
  74. "location": "City of Industry",
  75. "trackingCode": "ICC"
  76. },
  77. {
  78. "date": "2019-06-17 16:46:42",
  79. "trackingDesc": "海外仓上架完成",
  80. "location": null,
  81. "trackingCode": "OWS"
  82. }
  83. ]}
  84. }
关键词