获取用户可用的仓库、服务数据
HTTP Verb | URL |
|---|---|
| GET | /api/supplier-service/v1/b2c/warehouseServiceList |
POST /api/supplier-service/v1/b2b/poList Host: http://cfs-qa.etowertech.com/ Content-Type: application/json Accept: application/json Authorization:WallTech etotest8xkIIphLnbkjRACNj4P:pc9H97D-_b2_TSCVvNj81A X-WallTech-Date:Tue, 02 Aug 2022 06:43:37 GMT |
| 字段名 | 数据类型 | 最大长度 | 必填 | 描述 |
|---|---|---|---|---|
serviceType | Short | O | 服务类型: 4:转运服务(Transshipment) 5:代发服务(Fulfillment) 默认全部服务类型 | |
| businessCode | String | O | 业务编码 |
https://cfs-qa.etowertech.com/api/supplier-service/v1/b2c/warehouseServiceList?serviceType=4&businessCode=string https://cfs-qa.etowertech.com/api/supplier-service/v1/b2c/warehouseServiceList?serviceType=5&businessCode=string https://cfs-qa.etowertech.com/api/supplier-service/v1/b2c/warehouseServiceList?businessCode=string |
字段名 | 子级字段名 | 数据类型 | 最大长度 | 描述 |
|---|---|---|---|---|
warehouseCode | String | 仓库代码。具有唯一性,下单需使用仓库代码 | ||
| warehouseName | String | 仓库名称 | ||
| countryCode | String | 仓库所在国家二字码 | ||
serviceList | List | 服务列表 | ||
| serviceCode | String | 服务代码。不唯一 | ||
| serviceName | String | 服务名称。在同一个仓库、同一个服务类型下具有唯一性,在下单接口中使用服务名称下单 | ||
| serviceType | Short | 服务类型 4:Transshipment;5:Fulfillment | ||
| serviceTypeName | String | 服务类型名称 | ||
| active | Short | 客户服务状态 0:Inactive;1:Active | ||
| activeMsg | String | 服务状态名称 |
{
"code":"0",
"data":[
{
"countryCode":"CA",
"serviceList":[
{
"active":1,
"activeMsg":"Active",
"serviceCode":"CAWS",
"serviceName":"加西仓",
"serviceType":4,
"serviceTypeName":"Transshipment"
}
],
"warehouseCode":"CASW",
"warehouseName":"加二仓"
},
{
"countryCode":"AU",
"serviceList":[
{
"active":1,
"activeMsg":"Active",
"serviceCode":"AU转运出库单",
"serviceName":"TEST.AU.ZY",
"serviceType":4,
"serviceTypeName":"Transshipment"
}
],
"warehouseCode":"AU2",
"warehouseName":"AU测试仓库2"
}
],
"errors":"",
"message":"",
"messageId":"",
"success":true,
"warnList":""
} |