/amzStaServer/openapi/inbound-packing/setPackingInformation{
"operation": {
"method": "POST",
"path": "/amzStaServer/openapi/inbound-packing/setPackingInformation"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/amzStaServer/openapi/inbound-packing/setPackingInformation?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 \"packageGroupings\": [{\n \"boxes\": [{\n \"dimensions\": {\n \"height\": 3,\n \"length\": 5,\n \"width\": 5, \n \"unitOfMeasurement\": \"cm\" \n },\n \"items\": [{\n \"expiration\": \"有效期\",\n \"labelOwner\": \"AMAZON\",\n \"msku\": \"msku\",\n \"prepOwner\": \"AMAZON\",\n \"quantity\": 1\n }],\n \"weight\": {\n \"value\": 1\n }\n }],\n \"packingGroupId\": \"包装组id:先装箱后分仓方式时必填;先分仓后装箱方式时无需填写\",\n \"shipmentId\": \"货件id:先分仓后装箱方式时必填;分装箱后分仓方式时无需填写\"\n }],\n \"sid\": 1\n}'",
"responseExample": {
"code": 0,
"message": "操作成功",
"errorDetails": [],
"requestId": "3b3d867e7d014971a580549f107c8c5a.1732773886069",
"responseTime": "2024-11-28T14:04:46.069",
"data": {
"errorMsg": "错误信息",
"inboundPlanId": "亚马逊任务编号",
"taskId": "任务id",
"taskStatus": "任务状态"
}
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | inboundPlanId | STA任务编号 | string | — | Required | STA任务编号,对应创建STA任务接口对应字段【inboundPlanId】 |
| 2 | packageGroupings | 分组装箱数据 | array<object> | — | Required | 分组装箱数据 |
| 2.1 | boxes | 箱子信息 | array<object> | — | Required | 箱子信息 |
| 2.1.1 | dimensions | 维度信息 | object | — | Optional | 维度信息 |
| 2.1.1.1 | height | 高 | number | — | Required | 高 |
| 2.1.1.2 | length | 长 | number | — | Required | 长 |
| 2.1.1.3 | unitOfMeasurement | 长度单位 | string | — | Required | 长度单位:IN、CM |
| 2.1.1.4 | width | 宽 | number | — | Required | 宽 |
| 2.1.2 | items | 商品信息 | array<object> | — | Required | 商品信息 |
| 2.1.2.1 | expiration | 有效期 | string | — | Optional | 有效期 |
| 2.1.2.2 | labelOwner | 标签类型 | string | — | Required | 标签类型 AMAZON SELLER NONE |
| 2.1.2.3 | msku | msku | string | — | Required | msku |
| 2.1.2.4 | prepOwner | 预处理提供方 | string | — | Required | 预处理提供方 AMAZON SELLER NONE |
| 2.1.2.5 | quantity | 申报量 | integer | — | Required | 申报量 |
| 2.1.3 | weight | 重量 | object | — | Optional | 重量 |
| 2.1.3.1 | unit | 重量单位 | string | — | Required | 重量单位:LB、KG |
| 2.1.3.2 | value | 重量单位值 | number | — | Required | 重量单位值 |
| 2.2 | packingGroupId | 包装组id | string | — | Optional | 包装组id:先装箱后分仓方式时必填;先分仓后装箱方式时无需填写 |
| 2.3 | shipmentId | 货件id | string | — | Optional | 货件id:先分仓后装箱方式时必填;分装箱后分仓方式时无需填写 |
| 3 | sid | 亚马逊店铺sid | integer | — | Required | 亚马逊店铺sid,对应查询亚马逊店铺列表接口对应字段【sid】 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | Required | 消息提示 |
| 3 | errorDetails | 错误信息 | array<any> | — | Required | 错误信息 |
| 4 | requestId | 请求链路id | string | — | Required | 请求链路id |
| 5 | responseTime | 响应时间 | string | 2020-05-18 11:23:47 | Required | 响应时间 |
| 6 | data | 响应数据 | object | — | Required | 响应数据 |
| 6.1 | errorMsg | 错误信息 | string | — | Required | 错误信息 |
| 6.2 | inboundPlanId | 亚马逊任务编号 | string | — | Required | 亚马逊任务编号 |
| 6.3 | taskId | 任务id | string | — | Required | 任务id |
| 6.4 | taskStatus | 任务状态 | string | — | Required | 任务状态 process success failure local_failure |
The 提交装箱信息 API (/amzStaServer/openapi/inbound-packing/setPackingInformation) 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.