API
查询仓库代码
更新时间: 2023-08-27 23:24:29 访问次数:19400

接口说明

通过本接口可查询万邑通海外仓的仓库代码、仓库名称和仓库地址。
提交海外仓出库单的时候,需要使用仓库代码:warehouseID
或者进入查询物流代码页面,通过万邑联账号和token进行查询

接口名称

queryWarehouse

请求说明

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

请求入参

请求示例

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

返回出参

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

名称 类型 必传 说明 示例
warehouseCode String(80) Y 海外仓库代码
warehouseID String(80) Y 海外仓仓库ID
warehouseName String(35) Y 海外仓仓库名称
warehouseAddress String(225) Y 海外仓仓库地址

返回示例

  1. {
  2. "code": "0",
  3. "msg": "操作成功",
  4. "data": [
  5. {
  6. "warehouseAddress": "美国,Texas,Houston,77090,300 W Airtex Blvd, Suite 200,",
  7. "warehouseID": 1018192,
  8. "warehouseName": "USTX Warehouse",
  9. "warehouseCode": "USTX"
  10. },
  11. {
  12. "warehouseAddress": "波兰,LUBUSKle,Slubice,69-100,os. Przemyslowe 9",
  13. "warehouseID": 1052191,
  14. "warehouseName": "PLSC Warehouse",
  15. "warehouseCode": "PLSC"
  16. },
  17. {
  18. "warehouseAddress": "英国,Leicestershire,Glenfield,LE3 8DX,Warehouse 1, Mill Lane Industrial Estate, Kirby Road",
  19. "warehouseID": 1022191,
  20. "warehouseName": "UKGF Warehouse",
  21. "warehouseCode": "UKGF"
  22. },
  23. {
  24. "warehouseAddress": "澳大利亚,Victoria,Truganina,3029,1-5 Felstead Drive",
  25. "warehouseID": 1030042,
  26. "warehouseName": "AUME Warehouse",
  27. "warehouseCode": "AUME"
  28. },
  29. {
  30. "warehouseAddress": "美国,Kentucky,Hebron,41048,2125 Gateway Blvd",
  31. "warehouseID": 1030045,
  32. "warehouseName": "USKY3 Warehouse",
  33. "warehouseCode": "USKY3"
  34. },
  35. {
  36. "warehouseAddress": "澳大利亚,New South Wales,Regents Park,2143,Dock 1, Block L, 391 Park Road",
  37. "warehouseID": 1000001,
  38. "warehouseName": "AU Warehouse",
  39. "warehouseCode": "EWD"
  40. },
  41. {
  42. "warehouseAddress": "英国,Worcestershire,Hartlebury,DY10 4JB,Unit 303-307, Hartlebury Trading Estate, Hartlebury, Worcestershire, DY10 4JB",
  43. "warehouseID": 1030048,
  44. "warehouseName": "UKKM Warehouse",
  45. "warehouseCode": "UKKM"
  46. }
  47. ]
  48. }