开发者文档
仓库代码查询

接口说明

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

使用场景

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

请求说明

URL

http://api.winit.com.cn/ADInterface/api

接口测试

http://erp.sandbox.winit.com.cn/ADInterface/api

验证方式

Token,md5

格式

json

http请求方式

http

请求数限制

默认每分钟300,有需要可以申请加大

 

请求示例

{
    "action":"queryWarehouse",
    "app_key":"rebecca",
    "data":{

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

返回结果示例

{
    "code":0,
    "data":[
        {
            "warehouseName":"AU Warehouse",
            "warehouseID":1000001,
            "warehouseAddress":"Australia,NSW,2143,PO Box 168 Regents Park,"
        }
,
        {
            "warehouseName":"USWC Warehouse",
            "warehouseID":1000008,
            "warehouseAddress":"United States,CA,91748,18501 Arenth,Rowland Heights,"
        }
,
        {
            "warehouseName":"UK Warehouse",
            "warehouseID":1000069,
            "warehouseAddress":"United Kingdom,Leicestershire,LE67 1LD,Unit 73 Interlink Way West,Bardon Business Park ,Bardon,"
        }
,
        {
            "warehouseName":"DE Warehouse",
            "warehouseID":1000089,
            "warehouseAddress":"Germany,Bremen,D-28197,Merkurstraße 49,"
        }

    ]
,
    "msg":"成功"
}

返回参数说明

正确的返回结果:查询成功。

名称

类型

说明

warehouseID  

String()

海外仓仓库ID

warehouseName

String(35)

海外仓仓库名称

warehouseAddress  

String(225)

海外仓仓库地址

 

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