WarehouseShelvesBatchUpdate¶
Use this api to batch update warehouse shelf information.
POST /openapi/warehouse-inventory/v1/warehouse-shelves/batch/update
Request Parameters¶
Parameter | Type | Required | Description |
---|---|---|---|
itemList |
array(WarehouseShelfBatchUpdateDTO) |
true |
Array of warehouse shelf update DTO, please refer to WarehouseShelfBatchUpdateDTO for details |
WarehouseShelfBatchUpdateDTO¶
Parameter | Type | Required | Description |
---|---|---|---|
id |
string |
true |
Warehouse shelf's id |
name |
string |
true |
Warehouse shelf's name, should be less than 150 |
code |
string |
true |
Warehouse shelf's code, should be less than 150 |
Response Parameters¶
Name | Type | Description |
---|---|---|
data |
boolean |
True or false |
Example
curl --location --request POST '{Ginee Host}/openapi/warehouse-inventory/v1/warehouse-shelves/batch/update' \
--header 'Content-Type: application/json' \
--header 'X-Advai-Country: ID' \
--header 'Authorization: 2aedf7919e5e6cb4:UH5nmZ7Qqd18Nr1sqLgDjA/1qjPfDR7/rzRvRtHTM8s=' \
--data-raw '{
"itemList": [
{
"id": "WS61EA66409B9717000127DAD6",
"name": "WS61EA66409B9717000127DAD6_name",
"code": "WS61EA66409B9717000127DAD6_code"
}
]
}'
Success
Fail
{
"code": "SUCCESS",
"message": "成功",
"data": {
"successList": [],
"errorList": [
{
"id": "WS61EA66409B9717000127DAD6",
"message": "default warehouse shelf cannot be update"
}
]K
},
"extra": null,
"pricingStrategy": "PAY"
}