API
查询出库单
更新时间: 2024-07-15 10:26:56 访问次数:21209

接口说明

通过本接口用户可以单次查询已提交的海外仓出库单详细信息、状态。

接口名称

queryOutboundOrder

请求说明

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

请求入参

名称 类型 必填 说明 示例
outboundOrderNum String() Y 海外仓出库单号在用户创建海外仓出库单后获得,唯一 WO0000003291

请求示例

  1. {
  2. "action": "queryOutboundOrder",
  3. "app_key": "rebecca",
  4. "client_id": "ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
  5. "client_sign": "C7A9503F689580BA7371D78B8BC62856",
  6. "data": {
  7. "outboundOrderNum": "WO0000003291"
  8. },
  9. "format": "json",
  10. "language": "zh_CN",
  11. "platform": "OWNERERP",
  12. "sign": "A9A4460C89161FF0B261BF89C6D02F15",
  13. "sign_method": "md5",
  14. "timestamp": "2015-06-16 00:19:26",
  15. "version": "1.0"
  16. }

返回出参

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

名称 类型 必传 说明 示例
outboundOrderNum String() Y 海外仓出库单编号
sellerOrderNo String() N 卖家订单号
isRepeat String() N 卖家订单号是否重复
eBayOrderID String(1) N eBay订单号
outboundOrderID String() Y 出库单ID -
status String() Y 出库单状态
statusName String() Y 出库单状态中文名
reasonForVoid String() Y 作废原因
warehouseName String() Y 下单仓库名称
warehouseID String() Y 下单仓库ID
warehouseCode String() Y 下单仓库编码
actualWarehouseInfoList Array Y 实际发货的仓库列表
-|warehouseID String() Y 实际发货的仓库ID
-|warehouseCode String() Y 实际发货的仓库编码
-|warehouseName String() Y 实际发货的仓库名称
iossNo String(128) N IOSS
state String() Y 收件人国家,ISO国家二字码
city String() Y 收件人城市
澳洲为SUBURB,对应邮编
regionName String() N 收件人州
zipCode String() Y 收件人邮政编码
address1 String() Y 收件人街道1
address2 String() N 收件人街道2
recipientName String() N 收件人姓名
phoneNum String() N 收件人电话
emailAddress String() N 收件人邮箱
deliveryWayName String() Y 下单派送方式
deliveryWayID String() Y 下单派送方式ID
actualProductInfoList Array Y 实际发货的渠道列表
-|deliveryWayID String() Y 实际发货的渠道ID
-|winitProductCode String() Y 实际发货的渠道编码
-|winitProductName String() Y 实际发货的渠道名称
carrierHasChange String() Y 派送商是否已更新
当下单渠道为组合服务时,返回“O”;
当下单渠道为非组合服务时,下单渠道的派送商与实际发货的渠道的派送商不一致时,返回“Y”,否则返回“N”
trackingNum String() N 最后一公里物流追踪号
carrier String() N 派送公司名称
platformCarrier String() N 平台派送商名称
转化成电商平台支持的承运商名称或编码
注:使用前提-创建出库单接口storeType电商平台需按要求告知具体的平台(部分电商平台未映射转化,或storeType未传值,将返回空)
chargeableWeight String() Y 包裹计费重量 ,单位:kg
productCode String() Y 商品编码
winit注册商品编码,SKU
specification String() N 商品规格
winit注册商品的规格
productNum String() Y 商品数量
winitTrackingNo String() N WINIT跟踪号
eBayValidateResult String() Y 是否ebay返利
rebateFeeCosts String() N 返利
rebateFeeCostsCode String() N 返利币种
ebayName String() N Ebay上显示的快递公司名
totalCost String() Y 总费用
总费用=处理费+派送费+其它
单位为USD
handlingFee String() Y 订单处理费
以海外仓当地币种结算
handlingfeeCode String() Y 订单处理费货币
以海外仓当地币种结算
deliveryCosts String() Y 派送费用 ,以海外仓当地币种结算
deliveryCostsCode String() Y 派送费货币 USD
rate String() Y 货币单位对美元的汇率
transactionDate String() Y 交易日期:YYYY-MM-DD HH:MM:SS
orderedTime String() Y 出库单创建时间(系统时间)
outboundDate String() N 出库时间
actualFinishTime String() N 服务实际完成时间
scheduledFinishTime String() N 服务标准完成时间
deliveryCompletionStatus String() N 派送完成情况
及时与否
OT:准时
DL:迟到
packageList Array Y 包裹列表
–|packageNum String() Y 包裹编号
–|weight Number Y 包裹重量kg
–|status String() Y 状态编码
–|trackingNos Array Y 跟踪号列表
-|warehouseID String() Y 实际发货的仓库ID
-|warehouseCode String() Y 实际发货的仓库编码
-|warehouseName String() Y 实际发货的仓库名称
-|deliveryWayID String() Y 实际发货的渠道ID
-|winitProductCode String() Y 实际发货的渠道编码
-|winitProductName String() Y 实际发货的渠道名称
–|carrier String() N 派送公司名称
-–|platformCarrier String() N 平台派送商名称
转化成电商平台支持的承运商名称或编码
注:使用前提-创建出库单接口storeType电商平台需按要求告知具体的平台(部分电商平台未映射转化,或storeType未传值,将返回空)
–|ontimeStatus String() Y 准时派送(服务时间、完成时间)
–|actualFinishTime String() Y 实际完成的时间
–|scheduledFinishTime String() Y 计划完成时间
–|serviceCompleteTime String() Y 完成时间(天)
–|serviceStandardTime String() Y 标准时间(天)
–|transactionDate String() Y 交易日期
–|outboundDate String() Y 出库时间
–|reasonForVoid String() Y 作废原因
–|isOperateByWinit String() Y 是否由万邑通作废
–|merchandiseList Array Y 商品列表
–|–|productCode String() Y 商品编码
–|–|productNum String() Y 商品数量
–|–|specification String() Y 商品规格
–|–|ebayBuyerID String() Y ebay买家id
–|–|ebayTransactionID String() Y ebau交易ID
–|–|batchList list N 批次列表
–|–|–|packingBatchNo String() N 产品批次号
–|–|–|batchDate String() N 批次日期
–|–|–|dispatchQty String() N 出库数
–|–|–|dataType String() N 数据类型
ESTIMATE:预估出库
ACTUAL:实际出库
–|–|itemList Array N 单品条码列表
–|–|–|itemCode String() N 商品单品码
当商品为单品管理时才会有,若商品为商品管理,则为空

已停用字段:
insuranceType最后一公里派送方式所用保险类型 、insuranceTypeID最后一公里派送方式所用保险类型ID

返回示例

  1. {
  2. "code": "0",
  3. "msg": "操作成功",
  4. "data": {
  5. "total": 1,
  6. "currentPageSize": 10,
  7. "currentPageNum": 1,
  8. "list": [
  9. {
  10. "winitTrackingNo": null,
  11. "zipCode": "91436-3631",
  12. "outboundDate": "2019-08-06 15:06:12",
  13. "phoneNum": "0419 666990",
  14. "deliverywayId": 1000254,
  15. "actualWarehouseInfoList": [
  16. {
  17. "warehouseID": "123",
  18. "warehouseCode": "EWD",
  19. "warehouseName": "AU Warehouse"
  20. }
  21. ],
  22. "actualProductInfoList": [
  23. {
  24. "deliveryWayID": "123",
  25. "winitProductCode": "OSF81232",
  26. "winitProductName": "AU Post - Parcel Post eParcel (Standard 2-6 Business Days)"
  27. }
  28. ],
  29. "carrierHasChange": "N",
  30. "insuranceType": "No Insurance",
  31. "ebayName": "USPS",
  32. "isShareOrder": "N",
  33. "emailAddress": "status.kitchens@bigpond.com",
  34. "eBaySellerID": null,
  35. "deliveryCosts": 8.36,
  36. "chargeableWeight": 0.025,
  37. "outboundOrderNum": "WO0000003291",
  38. "platformCarrier": "USPS",
  39. "iossNo": "",
  40. "recipientName": "shane bellingham",
  41. "state": "US",
  42. "isRepeat": "Y",
  43. "orderedTime": "2019-08-06 15:04:18",
  44. "eBayItemID": null,
  45. "weight": 0.025,
  46. "rebateFeeCosts": -0.25,
  47. "estimateVolume": 0.00045,
  48. "carrier": "USPS",
  49. "packageList": [
  50. {
  51. "isOperateByWinit": "",
  52. "outboundDate": "2019-08-06 15:06:12",
  53. "trackingNos": [
  54. "1Z68223Y0306991344"
  55. ],
  56. "warehouseID": "123",
  57. "warehouseCode": "EWD",
  58. "warehouseName": "AU Warehouse",
  59. "deliveryWayID": "123",
  60. "winitProductCode": "OSF81232",
  61. "winitProductName": "AU Post - Parcel Post eParcel (Standard 2-6 Business Days)",
  62. "weight": 0.025,
  63. "transactionDate": "2019-08-06 15:04:18",
  64. "actualFinishTime": null,
  65. "scheduledFinishTime": 0,
  66. "merchandiseList": [
  67. {
  68. "productCode": "auto_sku22",
  69. "ebayBuyerID": null,
  70. "ebayItemID": null,
  71. "specification": "",
  72. "itemList": [
  73. {
  74. "itemCode": "S500028000146276965"
  75. }
  76. ],
  77. "productNum": 1,
  78. "ebaySellerID": null,
  79. "ebayTransactionID": null
  80. }
  81. ],
  82. "serviceCompleteTime": 0,
  83. "ontimeStatus": null,
  84. "reasonForVoid": "",
  85. "serviceStandardTime": 0,
  86. "packageNum": "WO0000003291A",
  87. "carrier": "USPS",
  88. "platformCarrier": "USPS",
  89. "status": "DLI"
  90. }
  91. ],
  92. "storageOntime": null,
  93. "estimateWeight": 0.025,
  94. "volume": 0.00045,
  95. "scheduledFinishTime": null,
  96. "ontimeStatus": null,
  97. "serviceCompleteTime": null,
  98. "trackingNum": "1Z68223Y0306991344",
  99. "handlingfeeCode": "USD",
  100. "warehouseId": 1000008,
  101. "cToBpartnerId": 0,
  102. "serviceStandardTime": null,
  103. "eBayBuyerID": null,
  104. "winitProductCode": "OSF810757",
  105. "countryName": "美国",
  106. "totalCost": 8.41,
  107. "status": "DLI",
  108. "eBayNo": null,
  109. "eBayValidateResult": "Y",
  110. "deliveryCompletionStatus": null,
  111. "sellerOrderNo": "252727722489-1495123873511",
  112. "handlingFee": 0.05,
  113. "city": "Encino",
  114. "insuranceTypeID": 1000000,
  115. "regionName": "CA",
  116. "cFromBpartnerId": 0,
  117. "warehouseName": "USWC Warehouse",
  118. "warehouseCode": "US0001",
  119. "rate": 1,
  120. "statusName": "派送中",
  121. "deliverywayName": "USPS - Priority Mail (Express 2-3 Business Days)-USWC",
  122. "isEBayOrder": "N",
  123. "storeType": "other",
  124. "outboundOrderID": 329,
  125. "address2": null,
  126. "address1": "Unit 8/39 Hill Road",
  127. "deliveryCostsCode": "USD",
  128. "specification": "",
  129. "productNum": 1,
  130. "transactionDate": null,
  131. "actualFinishTime": null,
  132. "bpName": "万邑通质量保证部测试账号1-TEST",
  133. "productCode": "auto_sku22",
  134. "rebateFeeCostsCode": "USD",
  135. "cBpartnerId": 1000019,
  136. "doorplateNumbers": "123",
  137. "eBayOrderID": null
  138. }
  139. ]
  140. }
  141. }