API
查询仓库代码
更新时间: 2018-10-11 09:42:14 访问次数:1575
接口说明

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

使用场景

通过该接口,用户在下出库单前可查询万邑通海外仓的仓库代码、仓库名称和仓库地址

备注
请求说明
URL http://openapi.winit.com.cn/cedpopenapi/service
接口测试 http://openapi.uat1.winit.com.cn/cedpopenapi/service
验证方法 Token,md5
格式 json
字符编码 UTF-8
http请求方式 http
请求数限制 默认每分钟1000,有需要可申请加大。
请求入参
名称 类型 必填 说明 示例





请求示例
    {
    "action":"wanyilian.platform.queryWarehouse",
    "app_key":"rebecca",
    "data":{

    },
    "format":"json",
    "language":"zh_CN",
    "platform":"SELLERERP",
    "sign":"935063094225F4A657A1B151C9F8E7BA",
    "sign_method":"md5",
    "timestamp":"2015-06-16 00:19:26",
    "version":"1.0"
}


                            
返回出参
名称 类型 必填 说明 示例
warehouseCode
String()
Y海外仓库代码

warehouseName
String() Y 海外仓仓库名称

warehouseAddress
String() Y 海外仓仓库地址

返回参数说明 正确的返回结果:查询成功。 错误的返回结果:错误码,错误信息

返回示例
{
   "code": 0,
   "data":    [
            {
         "warehouseCode": "EWD",
         "warehouseName": "AU Warehouse",
         "warehouseAddress": "Australia,NSW,2143,PO Box 168 Regents Park,"
      },
            {
         "warehouseCode": "US0001",
         "warehouseName": "USWC Warehouse",
         "warehouseAddress": "United States,CA,Industry,91748,18501 Arenth Ave, City of Industry,"
      },
            {
         "warehouseCode": "UK0001",
         "warehouseName": "UK Warehouse",
         "warehouseAddress": "United Kingdom,Leicestershire,LE67 1LD,Unit 73 Interlink Way West,Bardon Business Park ,Bardon,"
      }
   ],
   "msg": "成功"
}


                            
关键词