API
查询仓库代码
更新时间: 2019-08-08 20:08:50 访问次数:6083
接口说明

通过本接口可查询万邑通海外仓的仓库代码、仓库名称和仓库地址。

接口英文名称

queryWarehouse

使用场景

提交海外仓出库单的时候,需要使用仓库代码:warehouseID
1.查询海外仓仓库代码和名称
2.查询海外仓的地址

备注

请求说明
URL http://openapi.winit.com.cn/openapi/service
接口测试 http://openapi.sandbox.winit.com.cn/openapi/service
验证方法 Token,md5
格式 json
字符编码 UTF-8
http请求方式 http
请求数限制 默认每分钟1000,有需要可申请加大。
请求入参
名称 类型 必填 说明 示例
暂无
请求示例
{
    "action":"queryWarehouse",
    "app_key":"rebecca",
    "client_id":"ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
    "client_sign":"20B0F915570E829C09E1EC74A074F625",
    "data":"",
    "format":"json",
    "language":"zh_CN",
    "platform":"OWNERERP",
    "sign":"183CE29588FD471A7534BE1CF94913E9",
    "sign_method":"md5",
    "timestamp":"2015-06-16 00:19:26",
    "version":"1.0"
}

                            
返回出参
名称 类型 必填 说明 示例
warehouseCode String(80) 海外仓库代码 0
warehouseID String(80) 海外仓仓库ID
warehouseName String(35) 海外仓仓库名称
warehouseAddress String(225) 海外仓仓库地址

错误的返回结果:错误码,错误信息。

返回示例
{
   "code": "0",
   "msg": "操作成功",
   "data":    [
            {
         "warehouseAddress": "美国,Texas,Houston,77090,300 W Airtex Blvd, Suite 200,",
         "warehouseID": 1018192,
         "warehouseName": "USTX Warehouse",
         "warehouseCode": "USTX"
      },
            {
         "warehouseAddress": "比利时,-,Mouscron,B7700,None",
         "warehouseID": 1012190,
         "warehouseName": "BEMO Warehouse",
         "warehouseCode": "BE0001"
      },
            {
         "warehouseAddress": "波兰,LUBUSKle,Slubice,69-100,os. Przemyslowe 9",
         "warehouseID": 1052191,
         "warehouseName": "PLSC Warehouse",
         "warehouseCode": "PLSC"
      },
            {
         "warehouseAddress": "美国,California,City of Industry,91748,18501 Arenth Ave",
         "warehouseID": 1000008,
         "warehouseName": "USWC Warehouse",
         "warehouseCode": "US0001"
      },
            {
         "warehouseAddress": "德国,-,Bremen,28197,Ludwig-Erhard-Str. 2",
         "warehouseID": 1000089,
         "warehouseName": "DE Warehouse",
         "warehouseCode": "DE0001"
      },
            {
         "warehouseAddress": "美国,Kentucky,Hebron,41048,1100 Worldwide BLVD, Suite 100",
         "warehouseID": 1051191,
         "warehouseName": "USKY2 Warehouse",
         "warehouseCode": "USKY2"
      },
            {
         "warehouseAddress": "英国,Leicestershire,Glenfield,LE3 8DX,Warehouse 1, Mill Lane Industrial Estate, Kirby Road",
         "warehouseID": 1022191,
         "warehouseName": "UKGF Warehouse",
         "warehouseCode": "UKGF"
      },
            {
         "warehouseAddress": "澳大利亚,Victoria,Truganina,3029,1-5 Felstead Drive",
         "warehouseID": 1030042,
         "warehouseName": "AUME Warehouse",
         "warehouseCode": "AUME"
      },
            {
         "warehouseAddress": "美国,Kentucky,Hebron,41048,2125 Gateway Blvd",
         "warehouseID": 1030045,
         "warehouseName": "USKY3 Warehouse",
         "warehouseCode": "USKY3"
      },
            {
         "warehouseAddress": "澳大利亚,New South Wales,Regents Park,2143,Dock 1, Block L, 391 Park Road",
         "warehouseID": 1000001,
         "warehouseName": "AU Warehouse",
         "warehouseCode": "EWD"
      },
            {
         "warehouseAddress": "英国,Leicestershire,Leicester,LE67 1LD,Unit 73 Interlink Way West, Bardon Business Park",
         "warehouseID": 1000069,
         "warehouseName": "UK Warehouse",
         "warehouseCode": "UK0001"
      },
            {
         "warehouseAddress": "美国,Kentucky,Walton,41094,41 logistics Blvd, Suite A-2,",
         "warehouseID": 1008190,
         "warehouseName": "USKYN Warehouse",
         "warehouseCode": "US0003"
      },
            {
         "warehouseAddress": "英国,Staffordshire,Burntwood,WS7 3XB,Unit 25 Burntwood Business Park",
         "warehouseID": 1055191,
         "warehouseName": "UKBH Warehouse",
         "warehouseCode": "UKBH"
      },
            {
         "warehouseAddress": "英国,Greater Manchester,Oldham,OL9 9XA,Unit 26 Broadgate, Oldham Broadway Business  Park",
         "warehouseID": 1005189,
         "warehouseName": "UKMA Warehouse",
         "warehouseCode": "UK0002"
      },
            {
         "warehouseAddress": "美国,California,Walnut,91789,381 S Brea Canyon Road",
         "warehouseID": 1054191,
         "warehouseName": "USWC2 Warehouse",
         "warehouseCode": "USWC2"
      },
            {
         "warehouseAddress": "英国,Worcestershire,Hartlebury,DY10 4JB,Unit 303-307, Hartlebury Trading Estate, Hartlebury, Worcestershire, DY10 4JB",
         "warehouseID": 1030048,
         "warehouseName": "UKKM Warehouse",
         "warehouseCode": "UKKM"
      }
   ]
}
                                                            
                                                            
                                                              Hello
                                                              World