/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": "物流中心编码"
}
]
}
]
}
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | inboundPlanId | STA任务编号 | string | — | Required | STA任务编号,对应创建STA任务接口对应字段【inboundPlanId】 |
| 2 | sid | 亚马逊店铺sid | integer | — | Required | 亚马逊店铺sid,对应查询亚马逊店铺列表接口对应字段【sid】 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | int | 0 | Required | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | Required | 消息提示 |
| 3 | errorDetails | 错误信息 | array | — | Required | 错误信息 |
| 4 | requestId | 请求链路id | string | — | Required | 请求链路id |
| 5 | responseTime | 响应时间 | string | 2020-05-18 11:23:47 | Required | 响应时间 |
| 6 | data | 响应数据 | object | — | Required | 响应数据 |
| 6.1 | inboundPlanId | STA任务编号 | string | — | Required | STA任务编号 |
| 6.2 | placementOptionList | 货件方案 | array | — | Required | 货件方案 |
| 6.2.1 | feeCount | 费用 | number | — | Required | 费用 |
| 6.2.2 | fees | 费用明细 | array | — | Required | 费用明细:array |
| 6.2.2.1 | amount | 金额 | number | — | Required | 金额 |
| 6.2.2.2 | code | 货币类型 | string | — | Required | 货币类型:详见ISO 4217标准里的货币编码,例如USD、CNY等 |
| 6.2.2.3 | target | 费用项 | string | — | Required | 费用项:例如'Placement Services', 'Fulfillment Fee Discount'等 |
| 6.2.2.4 | type | 费用类型 | string | — | Required | 费用类型:FEE, DISCOUNT等 |
| 6.2.3 | placementOptionId | 货件方案id | string | — | Required | 货件方案id |
| 6.2.4 | placementStatus | 状态 | string | — | Required | 状态:含OFFERED、ACCEPTED、EXPIRED |
| 6.2.5 | shipmentInformationList | 货件信息 | array | — | Required | 货件信息 |
| 6.2.5.1 | address | address | object | — | Required | |
| 6.2.5.1.1 | addressLine1 | 详细街道地址1 | string | — | Required | 详细街道地址1 |
| 6.2.5.1.2 | addressLine2 | 详细街道地址2 | string | — | Required | 详细街道地址2 |
| 6.2.5.1.3 | city | 城市 | string | — | Required | 城市 |
| 6.2.5.1.4 | companyName | 公司名称 | string | — | Required | 公司名称 |
| 6.2.5.1.5 | countryCode | 国家(地区) | string | — | Required | 国家(地区) |
| 6.2.5.1.6 | 邮箱 | string | — | Required | 邮箱 | |
| 6.2.5.1.7 | name | 收货方名称 | string | — | Required | 收货方名称 |
| 6.2.5.1.8 | phoneNumber | 电话 | string | — | Required | 电话 |
| 6.2.5.1.9 | postalCode | 邮政编码 | string | — | Required | 邮政编码 |
| 6.2.5.1.10 | stateOrProvinceCode | 州/省/地区 | string | — | Required | 州/省/地区 |
| 6.2.5.2 | itemCount | 商品总数 | int | — | Required | 商品总数 |
| 6.2.5.3 | itemList | 商品信息 | array | — | Required | 商品信息 |
| 6.2.5.3.1 | asin | asin | string | — | Required | asin |
| 6.2.5.3.2 | fnsku | fnsku | string | — | Required | fnsku |
| 6.2.5.3.3 | msku | msku | string | — | Required | msku |
| 6.2.5.3.4 | parentAsin | 父asin | string | — | Required | 父asin |
| 6.2.5.3.5 | productName | 品名 | string | — | Required | 品名:【产品管理】中的品名 |
| 6.2.5.3.6 | sku | sku | string | — | Required | sku:【产品管理】中的sku |
| 6.2.5.3.7 | title | 标题 | string | — | Required | 标题 |
| 6.2.5.3.8 | url | 图片url | string | — | Required | 图片url |
| 6.2.5.4 | postalCodeMark | 入库区域(美国站专属) | string | — | Required | 入库区域(美国站专属) |
| 6.2.5.5 | shipmentId | 货件单号 | string | — | Required | 货件单号 |
| 6.2.5.6 | shipmentName | 货件名称 | string | — | Optional | 货件名称, 当placementStatus=ACCEPTED时才有数据返回 |
| 6.2.5.7 | wareHouseId | 物流中心编码 | string | — | Required | 物流中心编码 |
| 6.2.5.8 | quantity | 商品总申报量 | int | — | Required | 商品总申报量 |
The 查询货件方案 API (/amzStaServer/openapi/inbound-shipment/shipmentPreView) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.