1. Warehouse API
API URL
post {HTTP(S)host} /api/{version}/warehouse
1.1. Query Warehouse list
1.1.1. SERVICE_TYPE
QUERY_WAREHOUSE_LIST
1.1.2. Request
Params | Require | DataType | Sample | Description |
---|---|---|---|---|
page | Y | Number | 1 | Page number, default 1 |
pageSize | Y | Number | 50 | Number of records per page. no more than 200; Default is 100 |
status | N | String | LOCK,UNLOCK | Warehouse status |
name | N | String | Warehouse | Warehouse name |
1.1.3. Reponse
Params | Require | DataType | Sample | Description |
---|---|---|---|---|
errorCode | Y | String | “DATA_INPUT_ERROR” | Error Code |
errorMsg | Y | String | “The input of Params is incorrect” | Business Error Messages |
state | Y | String | success | Response State |
total | Y | Number | 100 | Total num |
result | Y | List<Warehouse> | For warehouse information, see the following table for details |
Warehouse
Params | Require | DataType | Sample | Description |
---|---|---|---|---|
id | Y | 仓库id | 1001 | Warehouse ID |
name | Y | String | Malay warehouse | Warehouse name, up to 50 characters |
kind | Y | String | SHIP, TRANSFER, COMPLEX | Warehouse type |
providerName | Y | String | 百世 | Warehouse service provider barcode |
code | Y | String | G_01 | Corresponding WMS open repository code |
codeName | Y | String | 百世-01 | Enable Warehouse for WMS name |
country | Y | String | US,JP | Warehouse Country |
timezoneId | Y | String | Asia/Shanghai | The time zone in which the warehouse is located |
status | N | String | LOCK,UNLOCK | Warehouse status |