/amzStaServer/openapi/inbound-shipment/shipmentPreView{
"operation": {
"method": "POST",
"path": "/amzStaServer/openapi/inbound-shipment/shipmentPreView"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/amzStaServer/openapi/inbound-shipment/shipmentPreView?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": {
"inboundPlanId": "wf0a914e89-d126-4ed9-a093-2078289fed05",
"placementOptionList": [
{
"feeCount": "费用",
"fees": [
{
"amount": "金额",
"code": "货币类型:详见ISO 4217标准里的货币编码,例如USD、CNY等",
"target": "费用项:例如'Placement Services', 'Fulfillment Fee Discount'等",
"type": "费用类型:FEE, DISCOUNT等"
}
],
"placementOptionId": "货件方案id",
"placementStatus": "状态:含OFFERED、ACCEPTED、EXPIRED",
"shipmentInformationList": [
{
"address": {
"addressLine1": "详细街道地址1",
"addressLine2": "详细街道地址2",
"city": "城市",
"companyName": "公司名称",
"countryCode": "国家(地区)",
"email": "邮箱",
"name": "收货方名称",
"phoneNumber": "电话",
"postalCode": "邮政编码",
"stateOrProvinceCode": "州/省/地区"
},
"itemCount": "商品总数",
"itemList": [
{
"asin": "asin",
"fnsku": "fnsku",
"msku": "msku",
"parentAsin": "父asin",
"productName": "品名:【产品管理】中的品名",
"sku": "sku:【产品管理】中的sku",
"title": "标题",
"url": "图片url"
}
],
"postalCodeMark": "入库区域(美国站专属)",
"shipmentId": "货件单号",
"shipmentName": "货件名称",
"wareHouseId": "物流中心编码"
}
]
}
]
}
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | inboundPlanId | STA任务编号 | string | — | 必填 | STA任务编号,对应创建STA任务接口对应字段【inboundPlanId】 |
| 2 | sid | 亚马逊店铺sid | integer | — | 必填 | 亚马逊店铺sid,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | int | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | errorDetails | 错误信息 | array | — | 必填 | 错误信息 |
| 4 | requestId | 请求链路id | string | — | 必填 | 请求链路id |
| 5 | responseTime | 响应时间 | string | 2020-05-18 11:23:47 | 必填 | 响应时间 |
| 6 | data | 响应数据 | object | — | 必填 | 响应数据 |
| 6.1 | inboundPlanId | STA任务编号 | string | — | 必填 | STA任务编号 |
| 6.2 | placementOptionList | 货件方案 | array | — | 必填 | 货件方案 |
| 6.2.1 | feeCount | 费用 | number | — | 必填 | 费用 |
| 6.2.2 | fees | 费用明细 | array | — | 必填 | 费用明细:array |
| 6.2.2.1 | amount | 金额 | number | — | 必填 | 金额 |
| 6.2.2.2 | code | 货币类型 | string | — | 必填 | 货币类型:详见ISO 4217标准里的货币编码,例如USD、CNY等 |
| 6.2.2.3 | target | 费用项 | string | — | 必填 | 费用项:例如'Placement Services', 'Fulfillment Fee Discount'等 |
| 6.2.2.4 | type | 费用类型 | string | — | 必填 | 费用类型:FEE, DISCOUNT等 |
| 6.2.3 | placementOptionId | 货件方案id | string | — | 必填 | 货件方案id |
| 6.2.4 | placementStatus | 状态 | string | — | 必填 | 状态:含OFFERED、ACCEPTED、EXPIRED |
| 6.2.5 | shipmentInformationList | 货件信息 | array | — | 必填 | 货件信息 |
| 6.2.5.1 | address | address | object | — | 必填 | |
| 6.2.5.1.1 | addressLine1 | 详细街道地址1 | string | — | 必填 | 详细街道地址1 |
| 6.2.5.1.2 | addressLine2 | 详细街道地址2 | string | — | 必填 | 详细街道地址2 |
| 6.2.5.1.3 | city | 城市 | string | — | 必填 | 城市 |
| 6.2.5.1.4 | companyName | 公司名称 | string | — | 必填 | 公司名称 |
| 6.2.5.1.5 | countryCode | 国家(地区) | string | — | 必填 | 国家(地区) |
| 6.2.5.1.6 | 邮箱 | string | — | 必填 | 邮箱 | |
| 6.2.5.1.7 | name | 收货方名称 | string | — | 必填 | 收货方名称 |
| 6.2.5.1.8 | phoneNumber | 电话 | string | — | 必填 | 电话 |
| 6.2.5.1.9 | postalCode | 邮政编码 | string | — | 必填 | 邮政编码 |
| 6.2.5.1.10 | stateOrProvinceCode | 州/省/地区 | string | — | 必填 | 州/省/地区 |
| 6.2.5.2 | itemCount | 商品总数 | int | — | 必填 | 商品总数 |
| 6.2.5.3 | itemList | 商品信息 | array | — | 必填 | 商品信息 |
| 6.2.5.3.1 | asin | asin | string | — | 必填 | asin |
| 6.2.5.3.2 | fnsku | fnsku | string | — | 必填 | fnsku |
| 6.2.5.3.3 | msku | msku | string | — | 必填 | msku |
| 6.2.5.3.4 | parentAsin | 父asin | string | — | 必填 | 父asin |
| 6.2.5.3.5 | productName | 品名 | string | — | 必填 | 品名:【产品管理】中的品名 |
| 6.2.5.3.6 | sku | sku | string | — | 必填 | sku:【产品管理】中的sku |
| 6.2.5.3.7 | title | 标题 | string | — | 必填 | 标题 |
| 6.2.5.3.8 | url | 图片url | string | — | 必填 | 图片url |
| 6.2.5.4 | postalCodeMark | 入库区域(美国站专属) | string | — | 必填 | 入库区域(美国站专属) |
| 6.2.5.5 | shipmentId | 货件单号 | string | — | 必填 | 货件单号 |
| 6.2.5.6 | shipmentName | 货件名称 | string | — | 可选 | 货件名称, 当placementStatus=ACCEPTED时才有数据返回 |
| 6.2.5.7 | wareHouseId | 物流中心编码 | string | — | 必填 | 物流中心编码 |
| 6.2.5.8 | quantity | 商品总申报量 | int | — | 必填 | 商品总申报量 |
领星ERP的接口:查询货件方案(/amzStaServer/openapi/inbound-shipment/shipmentPreView),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。