API
查询出库单
更新时间: 2024-03-21 10:29:36 访问次数:18984

接口说明

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

接口名称

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 仓库编码
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
trackingNum String() N 最后一公里物流追踪号
carrier String() N 派送公司名称
platformCarrier String() N 平台派送商名称
转化成电商平台支持的承运商名称或编码
注:使用前提-创建出库单接口storeType电商平台需按要求告知具体的平台,否则将按照winit命名的派送公司名称返回(部分电商平台未映射转化,也会按照winit命名的派送公司名称返回)
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 跟踪号列表
–|carrier String() N 派送公司名称
-–|platformCarrier String() N 平台派送商名称
转化成电商平台支持的承运商名称或编码
注:使用前提-创建出库单接口storeType电商平台需按要求告知具体的平台,否则将按照winit命名的派送公司名称返回(部分电商平台未映射转化,也会按照winit命名的派送公司名称返回)
–|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. "winitTrackingNo": null,
  10. "zipCode": "91436-3631",
  11. "outboundDate": "2019-08-06 15:06:12",
  12. "phoneNum": "0419 666990",
  13. "deliverywayId": 1000254,
  14. "insuranceType": "No Insurance",
  15. "ebayName": "USPS",
  16. "isShareOrder": "N",
  17. "emailAddress": "status.kitchens@bigpond.com",
  18. "eBaySellerID": null,
  19. "deliveryCosts": 8.36,
  20. "chargeableWeight": 0.025,
  21. "outboundOrderNum": "WO0000003291",
  22. "platformCarrier":"USPS",
  23. "iossNo": "",
  24. "recipientName": "shane bellingham",
  25. "state": "US",
  26. "isRepeat": "Y",
  27. "orderedTime": "2019-08-06 15:04:18",
  28. "eBayItemID": null,
  29. "weight": 0.025,
  30. "rebateFeeCosts": -0.25,
  31. "estimateVolume": 4.5E-4,
  32. "carrier": "USPS",
  33. "packageList": [{
  34. "isOperateByWinit": "",
  35. "outboundDate": "2019-08-06 15:06:12",
  36. "trackingNos": ["1Z68223Y0306991344"],
  37. "weight": 0.025,
  38. "transactionDate": "2019-08-06 15:04:18",
  39. "actualFinishTime": null,
  40. "scheduledFinishTime": 0,
  41. "merchandiseList": [{
  42. "productCode": "auto_sku22",
  43. "ebayBuyerID": null,
  44. "ebayItemID": null,
  45. "specification": "",
  46. "itemList": [{
  47. "itemCode": "S500028000146276965"
  48. }],
  49. "productNum": 1,
  50. "ebaySellerID": null,
  51. "ebayTransactionID": null
  52. }],
  53. "serviceCompleteTime": 0,
  54. "ontimeStatus": null,
  55. "reasonForVoid": "",
  56. "serviceStandardTime": 0,
  57. "packageNum": "WO0000003291A",
  58. "carrier": "USPS",
  59. "platformCarrier":"USPS",
  60. "status": "DLI"
  61. }],
  62. "storageOntime": null,
  63. "estimateWeight": 0.025,
  64. "volume": 4.5E-4,
  65. "scheduledFinishTime": null,
  66. "ontimeStatus": null,
  67. "serviceCompleteTime": null,
  68. "trackingNum": "1Z68223Y0306991344",
  69. "handlingfeeCode": "USD",
  70. "warehouseId": 1000008,
  71. "cToBpartnerId": 0,
  72. "serviceStandardTime": null,
  73. "eBayBuyerID": null,
  74. "winitProductCode": "OSF810757",
  75. "countryName": "美国",
  76. "totalCost": 8.41,
  77. "status": "DLI",
  78. "eBayNo": null,
  79. "eBayValidateResult": "Y",
  80. "deliveryCompletionStatus": null,
  81. "sellerOrderNo": "252727722489-1495123873511",
  82. "handlingFee": 0.05,
  83. "city": "Encino",
  84. "insuranceTypeID": 1000000,
  85. "regionName": "CA",
  86. "cFromBpartnerId": 0,
  87. "warehouseName": "USWC Warehouse",
  88. "warehouseCode": "US0001",
  89. "rate": 1,
  90. "statusName": "派送中",
  91. "deliverywayName": "USPS - Priority Mail (Express 2-3 Business Days)-USWC",
  92. "isEBayOrder": "N",
  93. "storeType": "other",
  94. "outboundOrderID": 329,
  95. "address2": null,
  96. "address1": "Unit 8/39 Hill Road",
  97. "deliveryCostsCode": "USD",
  98. "specification": "",
  99. "productNum": 1,
  100. "transactionDate": null,
  101. "actualFinishTime": null,
  102. "bpName": "万邑通质量保证部测试账号1-TEST",
  103. "productCode": "auto_sku22",
  104. "rebateFeeCostsCode": "USD",
  105. "cBpartnerId": 1000019,
  106. "doorplateNumbers": "123",
  107. "eBayOrderID": null
  108. }]
  109. }
  110. }