/amzStaServer/openapi/inbound-plan/detail{
"operation": {
"method": "POST",
"path": "/amzStaServer/openapi/inbound-plan/detail"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/amzStaServer/openapi/inbound-plan/detail?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 \"sid\": 1\n}'",
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "574FB0B8-FD6E-8D29-91FD-295B55CF5398",
"response_time": "2024-07-31 14:41:25",
"data": {
"addressVO": {
"addressLine1": "街道地址1",
"addressLine2": "街道地址2",
"city": "城市",
"countryCode": "国家code",
"countryName": "国家名称",
"email": "邮箱",
"phoneNumber": "电话号码",
"postalCode": "邮政编码",
"shipperName": "发货方名称",
"stateOrProvinceCode": "州/省/地区"
},
"gmtCreate": "创建时间",
"gmtModified": "更新时间",
"inboundPlanId": "wf0a914e89-d126-4ed9-a093-2078289fed05",
"planCreateTime": "计划创建时间",
"planName": "STA任务名称",
"planUpdateTime": "计划更新时间",
"productList": [
{
"asin": "asin",
"fnsku": "fnsku",
"msku": "msku",
"parentAsin": "父asin",
"productName": "品名",
"quantity": "申报量",
"sku": "sku",
"title": "标题(【listing】中的标题)",
"url": "图片url"
}
],
"shipmentList": [
{
"shipmentId": "货件id",
"shipmentConfirmationId": "货件单号",
"status": "货件状态"
}
],
"status": "STA任务状态"
}
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | inboundPlanId | STA任务编号 | string | — | 必填 | STA任务编号,对应创建STA任务接口对应字段【inboundPlanId】 |
| 2 | sid | 亚马逊店铺sid | integer | — | 必填 | 亚马逊店铺sid,对应查询亚马逊店铺列表接口对应字段【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 | addressVO | 发货地址 | object | — | 必填 | 发货地址 |
| 6.1.1 | addressLine1 | 街道地址1 | string | — | 必填 | 街道地址1 |
| 6.1.2 | addressLine2 | 街道地址2 | string | — | 必填 | 街道地址2 |
| 6.1.3 | city | 城市 | string | — | 必填 | 城市 |
| 6.1.4 | countryCode | 国家code | string | — | 必填 | 国家code |
| 6.1.5 | countryName | 国家名称 | string | — | 必填 | 国家名称 |
| 6.1.6 | 邮箱 | string | — | 必填 | 邮箱 | |
| 6.1.7 | phoneNumber | 电话号码 | string | — | 必填 | 电话号码 |
| 6.1.8 | postalCode | 邮政编码 | string | — | 必填 | 邮政编码 |
| 6.1.9 | shipperName | 发货方名称 | string | — | 必填 | 发货方名称 |
| 6.1.10 | stateOrProvinceCode | 州/省/地区 | string | — | 必填 | 州/省/地区 |
| 6.2 | gmtCreate | 创建时间 | string | — | 必填 | 创建时间 |
| 6.3 | gmtModified | 更新时间 | string | — | 必填 | 更新时间 |
| 6.4 | inboundPlanId | STA任务编号 | string | — | 必填 | STA任务编号 |
| 6.5 | planCreateTime | 计划创建时间 | string | — | 必填 | 计划创建时间 |
| 6.6 | planName | STA任务名称 | string | — | 必填 | STA任务名称 |
| 6.7 | planUpdateTime | 计划更新时间 | string | — | 必填 | 计划更新时间 |
| 6.8 | productList | 商品信息 | array<object> | — | 必填 | 商品信息 |
| 6.8.1 | asin | asin | string | — | 必填 | asin |
| 6.8.2 | fnsku | fnsku | string | — | 必填 | fnsku |
| 6.8.3 | msku | msku | string | — | 必填 | msku |
| 6.8.4 | parentAsin | 父asin | string | — | 必填 | 父asin |
| 6.8.5 | productName | 品名 | string | — | 必填 | 品名 |
| 6.8.6 | quantity | 申报量 | integer | — | 必填 | 申报量 |
| 6.8.7 | sku | sku | string | — | 必填 | sku |
| 6.8.8 | title | 标题(【listing】中的标题) | string | — | 必填 | 标题(【listing】中的标题) |
| 6.8.9 | url | 图片url | string | — | 必填 | 图片url |
| 6.9 | shipmentList | 货件信息 | array<object> | — | 必填 | 货件信息 |
| 6.9.1 | shipmentId | 货件id | string | — | 必填 | 货件id |
| 6.9.2 | shipmentConfirmationId | 货件单号 | string | FBA19M79VH0H | 必填 | 货件单号 |
| 6.9.3 | status | 货件状态 | string | — | 必填 | 货件状态: WORKING READY_TO_SHIP SHIPPED RECEIVING CANCELLED DELETED CLOSED ERROR IN_TRANSIT DELIVERED CHECKED_IN UNCONFIRMED |
| 6.10 | status | STA任务状态 | string | — | 必填 | STA任务状态: ACTIVE 进行中 VOIDED 已取消 SHIPPED 已发货 |
| 6.11 | position_type | 分仓方式 | integer | 1 | 必填 | 分仓方式,1-先装箱再分仓,2-先分仓再装箱 |
领星ERP的接口:查询STA任务详情(/amzStaServer/openapi/inbound-plan/detail),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。