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 | 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 | Service type 4: Transshipment; 5: Fulfillment. | ||
| serviceTypeName | String | Service type name | ||
| active | Short | 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":""
} |
...