BatchDeleteWarehouseInventory¶
Use this api to delete specified warehouses in batches.
POST /openapi/warehouse-inventory/v1/batch-delete
Request Parameters¶
Parameter | Type | Required | Description |
---|---|---|---|
idList |
array(string) |
true |
Array of warehouse inventory's id |
Response Parameters¶
Name | Type | Description |
---|---|---|
deleteSuccess |
boolean |
Success status |
warehouseInventoryId |
string |
Warehouse inventory id |
masterVariationId |
string |
Master variation id |
warehouseId |
string |
Warehouse id |
warehouseName |
string |
Warehouse name |
failReason |
string |
Fail reason |
Request Example¶
Example
curl --location --request POST '{Ginee Host}/openapi/warehouse-inventory/v1/batch-delete' \
--header 'Authorization: aaf66c8d17b518d8:PlEVobcNKRQkqpmyKZE1zow5sqED3bzsJTz6LbfShS0=' \
--header 'X-Advai-Country: ID' \
--header 'Content-Type: application/json' \
--data-raw '{"idList":["WI61EFA74B7D560D0001A43BE7"]}'
Success
[
{
"deleteSuccess": true,
"warehouseInventoryId": "WI61EFAB237D560D0001A43BEA",
"masterVariationId": "MV61EFA5CF6522050001174701",
"warehouseId": "WW61EA663F9B9717000127DAD5",
"warehouseName": "DefaultWarehouse",
"failReason": ""
}
]