Description
Send fulfillment order to 3rd party warehouse.After sending, the order can not be modified generally.
The following status can call this API.
order status = 0
order status = 2
Path
HTTP Verb | URL |
|---|---|
| POST | /api/supplier-service/v1/b2c/orders/confirm |
Header Sample
POST /api/supplier-service/v1/b2c/orders/confirm HTTP/1.1 Content-Type: application/json Accept: application/json User-Agent: Mozilla 5.0 Host: http://qa.etowertech.com X-WallTech-Date: Thu, 06 Aug 2020 06:44:25 GMT Authorization: WallTech testLvs2jdug2qIoRsJyuxs:F714XG5EBjslUUdx5xJrTCVb9Xs=
Fileds
Field | Data Type | Length | Mandatory | Description |
|---|---|---|---|---|
orderNo | M | 系统订单号 | ||
code | - | 返回编码 | ||
errors | - | 报错 | ||
message | - | 返回信息 | ||
messageId | - | 返回信息编码 | ||
success | - | 成功响应 | ||
warnList | - | 废弃字段 |
Request Sample
["C12283221114000001O"]
Response Sample
{
"code": "0",
"data": [
"C12283221114000002O"
],
"errors": "",
"message": "",
"messageId": "",
"success": true,
"warnList": ""
}
{
"code": "3",
"data": "",
"errors": [
{
"code": "600928",
"message": "orderNO:C12283221114000001O,Only in the 'Unconfirmed' or 'Sending Abnormality' status,Allowed confirm send operation"
}
],
"message": "parameters error, please contact your administrator",
"messageId": "",
"success": false,
"warnList": ""
}