Skip to content

WarehouseShelvesSearch

Use this api to search warehouse shelves information.

POST /openapi/warehouse-inventory/v1/warehouse-shelves/search

Request Parameters

Parameter Type Required Description
size integer false Page size, default is 100, max page entries should be less than 200
page integer false Page number, default 0
warehouseId string true Warehouse id
filterType string false Filter type,[NAME,CODE]
filter string false Filter value
warehouseShelfIdList array(string) false Array of warehouse shelf's id

Response Parameters

Name Type Description
id string Warehouse shelf's id
userId string User id
warehouseId string Warehouse id
name string Warehouse shelf's name
code string Warehouse shelf's code
createDatetime datetime Create date and time
updateDatetime datetime Update date and time

Request Example

Example

curl --location --request POST '{Ginee Host}/openapi/warehouse-inventory/v1/warehouse-shelves/search' \
--header 'Authorization: 2aedf7919e5e6cb4:S0sSLI9RSK/Vw6t3MpDm7pCgD+Vze0/9fu4W0PaX/iE=' \
--header 'X-Advai-Country: ID' \
--header 'Content-Type: application/json' \
--data-raw '{
"warehouseId": "WW61EA663F9B9717000127DAD5"
}'

Success

{
"code": "SUCCESS",
"message": "成功",
"data": {
    "page": 0,
    "size": 10,
    "total": 1,
    "content": [
        {
            "id": "WS61EA66409B9717000127DAD6",
            "userId": "U1484411281229213696",
            "warehouseId": "WW61EA663F9B9717000127DAD5",
            "name": "",
            "code": "",
            "createDatetime": "2022-01-21T07:52:33Z",
            "updateDatetime": "2022-01-21T07:52:33Z"
        }
    ]
},
"extra": null,
"pricingStrategy": "PAY"
}