/amzStaServer/openapi/inbound-shipment/updateShipmentTrack{
"operation": {
"method": "POST",
"path": "/amzStaServer/openapi/inbound-shipment/updateShipmentTrack"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/amzStaServer/openapi/inbound-shipment/updateShipmentTrack?access_token=value×tamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"billOfLadingNumber\": \"提货单号\",\n \"freightBillNumber\": \"LTL001\",\n \"inboundPlanId\": \"wf0a914e89-d126-4ed9-a093-2078289fed05\",\n \"shipmentConfirmationId\": \"FBAxxx\",\n \"shipmentId\": \"货件id\",\n \"sid\": 1,\n \"trackBOList\": [{\n \"boxId\": \"箱子id:通过查询货件装箱详情接口获取箱子ID,注意不是包裹ID\",\n \"localBoxId\": \"\",\n \"trackingId\": \"跟踪id\"\n }]\n}'",
"responseExample": {
"code": 0,
"message": "操作成功",
"errorDetails": [],
"requestId": "3b3d867e7d014971a580549f107c8c5a.1732773886069",
"responseTime": "2024-11-28T14:04:46.069",
"data": {
"errorMsg": "错误信息",
"inboundPlanId": "亚马逊任务编号",
"taskId": "任务id",
"taskStatus": "任务状态"
}
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | billOfLadingNumber | 提货单号 | string | — | 可选 | 提货单号,LTL建议填写,非必填 |
| 2 | freightBillNumber | LTL跟踪编号(LTL必填) | string | — | 可选 | LTL跟踪编号(LTL必填) |
| 3 | inboundPlanId | STA任务编号 | string | — | 可选 | STA任务编号 |
| 4 | shipmentConfirmationId | 货件单号 | string | — | 可选 | 货件单号 |
| 5 | shipmentId | 货件id | string | — | 可选 | 货件id |
| 6 | sid | 领星店铺ID | integer | — | 必填 | 领星店铺ID |
| 7 | trackBOList | 跟踪编号列表 | array<object> | — | 可选 | 跟踪编号列表,SPD必填 |
| 7.1 | boxId | 箱子id | string | — | 可选 | 箱子id |
| 7.2 | localBoxId | 本地箱子id | string | — | 可选 | 本地箱子id |
| 7.3 | trackingId | 跟踪id | string | — | 可选 | 跟踪id |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | code | integer | — | 可选 | |
| 2 | data | data | object | — | 可选 | |
| 2.1 | errorEnums | 错误编码(让openapi的用户进行后续操作) | array<any> | — | 可选 | 错误编码(让openapi的用户进行后续操作),OpenApiTypeEnum 枚举值 |
| 2.2 | errorMsg | 错误信息 | string | — | 可选 | 错误信息 |
| 2.3 | inboundPlanId | 亚马逊任务编号 | string | — | 可选 | 亚马逊任务编号 |
| 2.4 | taskId | 任务id | string | — | 可选 | 任务id |
| 2.5 | taskStatus | 任务状态 | string | — | 可选 | 任务状态 |
| 3 | errorDetails | errorDetails | array<any> | — | 可选 | |
| 4 | message | message | string | — | 可选 | |
| 5 | requestId | requestId | string | — | 可选 | |
| 6 | responseTime | responseTime | string | — | 可选 |
领星ERP的接口:上传货件跟踪号(/amzStaServer/openapi/inbound-shipment/updateShipmentTrack),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。