Create ASN (batch inbound order) and send ASN to 3rd party warehouse.
HTTP Verb | URL |
|---|---|
| POST | /api/supplier-service/v1/b2b/asn |
POST /api/supplier-service/v1/b2b/asn HTTP/1.1 Content-Type: application/json Accept: application/json User-Agent: Mozilla 5.0 Host: qa.etowertech.com X-WallTech-Date: Thu, 06 Aug 2020 06:21:24 GMT Authorization: WallTech testLvs2jdug2qIoRsJyuxs:2THPh5_j4OTYUGdinstTC4nYqDE= |
|
备注: 字段shipmethod请固定传1 字段LastMileType可选值为"1"(express)、"2"(Truck) 当选用1时,字段TrackingNo为必填项 当选用2时,字段TruckType为必填项 字段TruckType可选值为"1"(FCL)、"2"(LCL) 当选用1时,字段ContainerType、ContainerCount为必填项 当选用2时,字段Volume、Weight、TrayAmount为必填项 字段containerType可选值为"1"(20GP)、"2"(40GP)、"3"(40HQ)、"4"(45HQ) |
{
"shipMethod": 1,
"warehouseCode": "Canada warehouse",
"eta": "2022-10-25 09:37:48",
"poNoList": [
"CA-0001"
],
"remark": "",
"lastMailType": "1",
"truckType": "",
"palletCount": 0,
"weight": 0.00,
"volume": 0.00,
"expressNoList": [
"1"
],
"containerInfoList": [
{
"containerType": 0,
"quantity": 0
}
]
} |
{
"code": "0",
"data": {
"error": "",
"shippingPlanNo": "A12283221114000003S"
},
"errors": "",
"message": "",
"messageId": "",
"success": true,
"warnList": ""
} |
{
"code": "0005",
"data": "",
"errors": [
{
"code": "800010",
"message": "Po CA-0001, status can not create ASN"
}
],
"message": "paramter error",
"messageId": "",
"success": false,
"warnList": ""
} |