ManualOutboundOrderExecuteBatch¶
Use this api to execute manually created outbound orders in batches.
POST /openapi/warehouse-inventory/v1/manual-outbound-order/execute/batch
Request Parameters¶
| Parameter | Type | Required | Description | 
|---|---|---|---|
| data | array(long) | true | Array of manual outbound order's id | 
Response Parameters¶
| Name | Type | Description | 
|---|---|---|
| errorList | array(ErrorList) | Failed list, please refer to ErrorList | 
ErrorList¶
| Name | Type | Description | 
|---|---|---|
| id | long | Outbound order's id | 
| message | string | Message | 
Request Example¶
Example
curl --location --request POST '{Ginee Host}/openapi/warehouse-inventory/v1/manual-outbound-order/execute/batch' \
--header 'Authorization: 2aedf7919e5e6cb4:S0sSLI9RSK/Vw6t3MpDm7pCgD+Vze0/9fu4W0PaX/iE=' \
--header 'X-Advai-Country: ID' \
--header 'Content-Type: application/json' \
--data-raw '[1,2,9000]
'
Success
{
"code": "SUCCESS",
"message": "成功",
"data": {
    "errorList": [
        {
            "id": 2,
            "message": "[status:INVALID] can not execute"
        },
        {
            "id": 9000,
            "message": "not find entity"
        }
    ]
},
"extra": null,
"pricingStrategy": "PAY"
}