GetBatchAddProductToComboWarehouseResult¶
Use this api to get the result of add inventory in specified warehouses and combo in batch.
POST /openapi/warehouse-inventory/v1/get-batch-add-product-result
Request Parameters¶
Parameter | Type | Required | Description |
---|---|---|---|
taskId |
String |
true |
batch-add-product result token |
Response Parameters¶
Name | Type | Description |
---|---|---|
itemList |
array(SuccessList) |
Successful list, please refer to SuccessList |
errorList |
array(ErrorList) |
Failed list, please refer to ErrorList |
SuccessList¶
Name | Type | Description |
---|---|---|
masterVariationId |
string |
Master variation id |
warehouseId |
string |
Warehouse id |
warehouseInventoryId |
string |
Warehouse inventory id |
ErrorList¶
Name | Type | Description |
---|---|---|
masterVariationId |
string |
Master variation id |
warehouseId |
string |
Warehouse id |
message |
string |
Message |
Request Example¶
Example
curl --location --request POST '{Ginee Host}/openapi/warehouse-inventory/v1/get-batch-add-product-result?taskId=TASK1527184093119385600' \
--header 'Authorization: 2aedf7919e5e6cb4:S0sSLI9RSK/Vw6t3MpDm7pCgD+Vze0/9fu4W0PaX/iE=' \
--header 'X-Advai-Country: ID'
Success
{
"code": "SUCCESS",
"message": "成功",
"data": {
"id": "TASK1527184093119385600",
"total": 1,
"successNum": 1,
"failNum": 0,
"status": "finish",
"errorMsg": "",
"failExcelUrl": "",
"ext": [
"WI6285ECA5FA4F8C0001BE6D20"
]
},
"extra": null,
"pricingStrategy": "PAY"
}