接口说明
The carrier are used to push tracking information. |
Path
HTTP Verb | URL |
---|---|
Post | /services /integration/carrier/bagging |
Request field
# | Field (API) | Data Type | Length | Mandatory | Details | |||||||
1 | barcode | String | 40 | M | The barcode on the scanned | |||||||
2 | bagNo | String | 40 | M | Bag number | |||||||
3 | operatingAccount | String | 40 | O | The account of operator in eTower |
Response content
Field | Type | Mandatory/ | Description | |||||
status |
| Enumeration | M | Success/Failure | ||||
errors |
| Arrays | O | Errors
| ||||
data |
| Objects | M | Operational Data | ||||
| trackingNo | String | M | Tracking number | ||||
| bagNo | String | M | 大袋编号,如果该包裹已经装袋,返回系统中正确的袋号 | ||||
| baggingStatus | Enumeration | M | 装袋状态: 1:装袋成功 2:已装袋 3:已出库 4:已扣货 5:未称重 7:订单与大袋编号不匹配 8:大袋超过限重 9:已关袋 |
Request message
Request
{ "barcode": "BJR2048503011420", "bagNo": "DEMOSYD20210315123456", "operatingAccount": "test.li@buylogic.cc" }
Response message
Response
{ "status": "Success", "errors": null, "data": { "trackingNo": "LVS2020933301951164N1", "bagNo": "680009900001/0055-76", "baggingStatus": 9 } }
Bag number