描述
向第三方海外仓发送出库单数据,发送后订单数据不能修改。(转运出库和一件代发小包)
以下状态时可调用此API。
订单状态=0
订单状态=2
路径
HTTP Verb | URL |
|---|---|
| POST | /api/supplier-service/v1/b2c/orders/confirm |
请求头样例
POST /api/supplier-service/v1/b2c/orders/confirm HTTP/1.1 Host: http://cfs-qa.etowertech.com/ Content-Type: application/json Accept: application/json Authorization:WallTech etotest8xkIIphLnbkjRACNj4P:pc9H97D-_b2_TSCVvNj81A X-WallTech-Date:Tue, 02 Aug 2022 06:43:37 GMT
字段
字段名 | 数据类型 | 最大长度 | 必填性 | 描述 |
|---|---|---|---|---|
orderNoList | M | 系统订单号 |
请求样例
{
"orderNoList": [
"C12283230314000109O",
"C12283230314000111O",
"C12283230314000113O",
"C12283230314000115O",
"C12283230314000117O",
"C12283230314000119O",
"C12283230314000121O",
"C12283230314000123O",
"C12283230314000125O",
"C12283230314000127O",
"C12283230314000129O",
"C12283230314000131O",
"C12283230314000133O",
"C12283230314000135O",
"C12283230314000137O",
"C12283230314000139O",
"C12283230314000141O",
"C12283230314000143O",
"C12283230314000145O",
"C12283230314000147O",
"C12283230314000149O",
"C12283230314000151O",
"C12283230314000153O",
"C12283230314000155O",
"C12283230314000157O",
"C12283230314000159O",
"C12283230314000161O",
"C12283230314000163O",
"C12283230314000165O",
"C12283230314000167O",
"C12283230314000169O",
"C12283230314000171O",
"C12283230314000173O",
"C12283230314000175O",
"C12283230314000177O",
"C12283230314000179O",
"C12283230314000181O",
"C12283230314000183O",
"C12283230314000185O",
"C12283230314000187O",
"C12283230314000189O",
"C12283230314000191O",
"C12283230314000193O",
"C12283230314000195O",
"C12283230314000197O",
"C12283230314000199O",
"C12283230314000201O",
"C12283230314000203O",
"C12283230314000205O"
]
}
返回样例
code | - | 返回编码 | ||
errors | - | 报错 | ||
message | - | 返回信息 | ||
messageId | - | 返回信息编码 | ||
success | - | 成功响应 | ||
warnList | - | 废弃字段 |
成功样例
{
"code": "0",
"data": [
"C12283221114000XXXX",
"C12283221115000XXXX"
],
"errors": "",
"message": "",
"messageId": "",
"success": true,
"warnList": ""
}
失败样例
{
"code": "3",
"data": "",
"errors": [
{
"code": "600928",
"message": "orderNO:C12283230314000109O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000111O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000113O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000115O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000117O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000119O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000121O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000123O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000125O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000127O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000129O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000131O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000133O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000135O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000137O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000139O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000141O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000143O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000145O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000147O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000149O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000151O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000153O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000155O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000157O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000159O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000161O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000163O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000165O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000167O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000169O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000171O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000173O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000175O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000177O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000179O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000181O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000183O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000185O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000187O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000189O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000191O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000193O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000195O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000197O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000199O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000201O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000203O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
},
{
"code": "600928",
"message": "orderNO:C12283230314000205O,Only in the Unconfirmed or Sending Abnormality status,Allowed confirm send operation"
}
],
"message": "parameters error, please contact your administrator",
"messageId": "",
"success": false,
"warnList": ""
}