描述
获取用户可用的仓库、服务数据
...
Description
Retrieve available warehouse and service data for the Calling Party
Path
HTTP Verb | URL |
|---|---|
| GET | /api/supplier-service/v1/b2c/warehouseServiceList |
...
Sample:
Request Header
| 代码块 |
|---|
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 |
...
Request
| 字段名Field | 数据类型Data Type | 最大长度Max Length | 必填Required | 描述Description |
|---|---|---|---|---|
serviceType | Short | O | 服务类型: 4:转运服务(Transshipment) 5:代发服务(Fulfillment) 默认全部服务类型 |
...
Enumeration: 4: Transshipment, 5: Fulfillment. Default: all service types |
Request Sample
| 代码块 |
|---|
https://cfs-qa.etowertech.com/api/supplier-service/v1/b2c/warehouseServiceList?serviceType=4 https://cfs-qa.etowertech.com/api/supplier-service/v1/b2c/warehouseServiceList?serviceType=5 https://cfs-qa.etowertech.com/api/supplier-service/v1/b2c/warehouseServiceList |
...
Response
字段名 | 子级字段名 | 数据类型 | 最大长度 | 描述Level 1 Field | Level 2 Field | Data Type | Max Length | Description |
|---|---|---|---|---|---|---|---|---|
warehouseCode | String | 仓库代码。具有唯一性,下单需使用仓库代码Warehouse code. Unique identifier, required for order placement | ||||||
| warehouseName | String仓库名称 | Warehouse name | ||||||
| countryCode | String仓库所在国家二字码 | Two-character country code of warehouse location | ||||||
serviceList | List | 服务列表Service list | ||||||
| serviceCode | String服务代码。不唯一 | Service code. Not unique | ||||||
| serviceName | String服务名称。在同一个仓库、同一个服务类型下具有唯一性,在下单接口中使用服务名称下单 | Service name. Unique within same warehouse and service type; used for placing orders | ||||||
| serviceType | Short服务类型 4:Transshipment;5:Fulfillment | Service type 4: Transshipment; 5: Fulfillment. | ||||||
| serviceTypeName | String服务类型名称 | Service type name | ||||||
| active | Short客户服务状态 0:Inactive;1:Active | Customer service status 0:Inactive;1:Active | ||||||
| activeMsg | String | 服务状态名称 |
...
| Service status name |
Response Sample
| 代码块 |
|---|
{
"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":""
} |
...