/amzStaServer/openapi/inbound-shipment/confirmPlacementOption{
"operation": {
"method": "POST",
"path": "/amzStaServer/openapi/inbound-shipment/confirmPlacementOption"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/amzStaServer/openapi/inbound-shipment/confirmPlacementOption?access_token=value×tamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"inboundPlanId\": \"wf0a914e89-d126-4ed9-a093-2078289fed05\",\n \"placementOptionId\": \"货件方案id\",\n \"shipmentIds\": [\"货件id\"],\n \"sid\": 1\n}'",
"responseExample": {
"code": 0,
"message": "操作成功",
"errorDetails": [],
"requestId": "3b3d867e7d014971a580549f107c8c5a.1732773886069",
"responseTime": "2024-11-28T14:04:46.069",
"data": {
"errorMsg": "错误信息",
"inboundPlanId": "wf0a914e89-d126-4ed9-a093-2078289fed05",
"taskId": "任务id",
"taskStatus": "任务状态"
}
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | inboundPlanId | STA任务编号 | string | — | 必填 | STA任务编号,对应创建STA任务接口对应字段【inboundPlanId】 |
| 2 | placementOptionId | 货件方案id | string | — | 必填 | 货件方案id |
| 3 | shipmentIds | 货件列表 | array<any> | — | 必填 | 货件列表:传入对应货件方案id下的所有货件id |
| 4 | sid | 店铺id | integer | — | 必填 | 店铺id,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | errorDetails | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | requestId | 请求链路id | string | — | 必填 | 请求链路id |
| 5 | responseTime | 响应时间 | string | 2020-05-18 11:23:47 | 必填 | 响应时间 |
| 6 | data | 响应数据 | object | — | 必填 | 响应数据 |
| 6.1 | errorMsg | 错误信息 | string | — | 必填 | 错误信息 |
| 6.2 | inboundPlanId | 亚马逊任务编号 | string | — | 必填 | 亚马逊任务编号 |
| 6.3 | taskId | 任务id | string | — | 必填 | 任务id |
| 6.4 | taskStatus | 任务状态 | string | — | 必填 | 任务状态 process success failure local_failure |
领星ERP的接口:确认货件方案(/amzStaServer/openapi/inbound-shipment/confirmPlacementOption),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。