Skip to content

CreateWarehouseShelves

Use this api to batch update create warehouse shelf.

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

Request Parameters

Parameter Type Required Description
warehouseId string true Warehouse id
name string false Warehouse shelf's name
code string true Warehouse shelf's code, Can only contain numbers and letters and '-' and '_'

Response Parameters

Name Type Description
id string Warehouse shelf's id

Request Example

Example

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

Success

{
"code": "SUCCESS",
"message": "成功",
"data": "WS61F3A265005C8E0001BF4127",
"extra": null,
"pricingStrategy": "PAY"
}