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

接口说明

通过本接口可查询万邑通海外仓的仓库代码、仓库名称和仓库地址。
提交海外仓出库单的时候,需要使用仓库代码: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_EN",
  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": null,
  4. "data": [
  5. {
  6. "warehouseAddress": "Australia,Victoria,Truganina,3029,1-5 Felstead Drive",
  7. "warehouseID": 1030042,
  8. "warehouseName": "AUME Warehouse",
  9. "warehouseCode": "AUME"
  10. },
  11. {
  12. "warehouseAddress": "Belgium,-,Mouscron,B7700,Boulevard de l'Eurozone 35",
  13. "warehouseID": 1012190,
  14. "warehouseName": "BEMO Warehouse",
  15. "warehouseCode": "BE0001"
  16. },
  17. {
  18. "warehouseAddress": "Canada,Ontario,BRAMPTON,L6T 4X3,C/O 108 Summerlea Rd",
  19. "warehouseID": 1030075,
  20. "warehouseName": "CATO Warehouse",
  21. "warehouseCode": "CATO"
  22. },
  23. {
  24. "warehouseAddress": "United States,Alabama,Irondale,90001,深圳",
  25. "warehouseID": 1030072,
  26. "warehouseName": "客户海外仓",
  27. "warehouseCode": "CSIW99"
  28. },
  29. {
  30. "warehouseAddress": "Germany,,Bremen,28197,Ludwig-Erhard-Str. 2",
  31. "warehouseID": 1000089,
  32. "warehouseName": "DE Warehouse",
  33. "warehouseCode": "DE0001"
  34. },
  35. {
  36. "warehouseAddress": "Germany,,Bremen,28197,Senator-Blase-Straße 13",
  37. "warehouseID": 1030063,
  38. "warehouseName": "DEBR2 Warehouse",
  39. "warehouseCode": "DEBR2"
  40. },
  41. {
  42. "warehouseAddress": "Australia,New South Wales,SOUTH GRANVILLE,2142,Warehouse 2, 54 Ferndell St",
  43. "warehouseID": 1000001,
  44. "warehouseName": "AU Warehouse",
  45. "warehouseCode": "EWD"
  46. },
  47. {
  48. "warehouseAddress": "Italy,MILANO,LAINATE,20045,Via Merano 7/9, 20045 Lainate",
  49. "warehouseID": 1030069,
  50. "warehouseName": "ITAL Warehouse",
  51. "warehouseCode": "ITAL"
  52. },
  53. {
  54. "warehouseAddress": "Poland,LUBUSKle,Slubice,69-100,Transportowa 11",
  55. "warehouseID": 1052191,
  56. "warehouseName": "PLSC Warehouse",
  57. "warehouseCode": "PLSC"
  58. },
  59. {
  60. "warehouseAddress": "United Kingdom,,Leicester,LE67 1LD,Unit 73 Interlink Way West",
  61. "warehouseID": 1000069,
  62. "warehouseName": "UK Warehouse",
  63. "warehouseCode": "UK0001"
  64. }
  65. ]
  66. }