Get Warehouse List

Request Service

  • getWarehouse

Request Method:

  • POST

Request Sample:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.example.org/">
    <SOAP-ENV:Body>
        <ns1:callService>
            <paramsJson>
                {
                  "pageSize":1,
                  "page":1
                }
            </paramsJson>
            <appToken>appToken</appToken>
            <appKey>appKey</appKey>
            <service>getWarehouse</service>
        </ns1:callService>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Request Parameter:

Parameter Type Required Remark
pageSize int Y Page size
page int Y Current page

Response Sample:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SOAP-ENV:Envelope xmlns:ns1="http://www.example.org/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
        <ns1:callServiceResponse>
            <response>
                {
                  "ask":"Success",
                  "count":"2",
                  "data":[
                    {
                      "city":"elk grove village",
                      "company":"WESTERN POST US",
                      "country_id":243,
                      "state":"IL",
                      "warehouse_code":"WPCHI",
                      "warehouse_desc":"美国芝加哥仓",
                      "warehouse_id":7
                    },
                    {
                      "city":"Bochum",
                      "company":"",
                      "country_id":88,
                      "state":"Bochum",
                      "warehouse_code":"WPDE",
                      "warehouse_desc":"德国仓",
                      "warehouse_id":5
                    }
                  ],
                  "message":"Success",
                  "nextPage":true,
                  "pagination":{
                    "page":1,
                    "pageSize":2
                  }
                }
            </response>
        </ns1:callServiceResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response Parameter:

Parameter Type Remark
warehouse_code String Warehouse Code
warehouse_desc String Response message
warehouse_id int Warehouse Id
country_id int Country Id,refer to API getCountry
state String Province/State
city String City
company String Company
is_toC_return int Is B2C return supported? 0 No 1 Yes
作者:WesternPost  创建时间:2021-06-29 21:19
最后编辑:覃超华  更新时间:2024-12-31 02:56