/amzStaServer/openapi/inbound-packing/updateShipmentPacking{
"operation": {
"method": "POST",
"path": "/amzStaServer/openapi/inbound-packing/updateShipmentPacking"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/amzStaServer/openapi/inbound-packing/updateShipmentPacking?access_token=value×tamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"boxes\": [{\n \"contentInformationSource\": \"BOX_CONTENT_PROVIDED\",\n \"dimensions\": {\n \"height\": 3,\n \"length\": 4,\n \"width\": 5,\n \"unitOfMeasurement\": \"CM\"\n },\n \"items\": [{\n \"expiration\": \"2023-02-06\",\n \"labelOwner\": \"AMAZON\",\n \"msku\": \"msku\",\n \"prepOwner\": \"SELLER\",\n \"quantity\": 1\n }],\n \"packageId\": \"包裹id\",\n \"weight\": {\n \"value\": 10\n }\n }],\n \"inboundPlanId\": \"任务编号\",\n \"items\": [{\n \"expiration\": \"2023-02-06\",\n \"labelOwner\": \"SELLER\",\n \"msku\": \"msku\",\n \"prepOwner\": \"AMAZON\",\n \"quantity\": 1\n }],\n \"shipmentId\": \"货件id\",\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 | boxes | 装箱明细数据 | array<object> | — | Required | 装箱明细数据 |
| 1.1 | contentInformationSource | 提供方式 | string | — | Required | 提供方式 BOX_CONTENT_PROVIDED、MANUAL_PROCESS、BARCODE_2D |
| 1.2 | dimensions | dimensions | object | — | Optional | |
| 1.2.1 | height | 高 | number | — | Required | 高 |
| 1.2.2 | length | 长 | number | — | Required | 长 |
| 1.2.3 | unitOfMeasurement | 长度单位 | string | — | Required | 长度单位:IN、CM |
| 1.2.4 | width | 宽 | number | — | Required | 宽 |
| 1.3 | items | 商品信息 | array<object> | — | Required | 商品信息 |
| 1.3.1 | expiration | 有效期 | string | — | Optional | 有效期 |
| 1.3.2 | labelOwner | 标签类型(AMAZON | string | — | Required | 标签类型(AMAZON,SELLER,NONE) |
| 1.3.3 | msku | msku | string | — | Required | msku |
| 1.3.4 | prepOwner | 预处理提供方(AMAZON | string | — | Required | 预处理提供方(AMAZON,SELLER,NONE) |
| 1.3.5 | quantity | 申报量 | integer | — | Required | 申报量 |
| 1.4 | packageId | 包裹id | string | — | Optional | 包裹id |
| 1.5 | weight | weight | object | — | Optional | |
| 1.5.1 | unit | 重量单位 | string | — | Required | 重量单位:LB、KG |
| 1.5.2 | value | 重量 | number | — | Required | 重量 |
| 2 | inboundPlanId | 任务编号 | string | — | Optional | 任务编号 |
| 3 | items | items | array<object> | — | Required | |
| 3.1 | expiration | 有效期 | string | — | Optional | 有效期 |
| 3.2 | labelOwner | 标签类型(AMAZON | string | — | Required | 标签类型(AMAZON,SELLER,NONE) |
| 3.3 | msku | msku | string | — | Required | msku |
| 3.4 | prepOwner | 预处理提供方(AMAZON | string | — | Required | 预处理提供方(AMAZON,SELLER,NONE) |
| 3.5 | quantity | 申报量 | integer | — | Required | 申报量 |
| 4 | shipmentId | 货件号 | string | — | Optional | 货件号 |
| 5 | sid | 领星店铺ID | integer | — | Optional | 领星店铺ID,对应查询亚马逊店铺列表接口对应字段【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/updateShipmentPacking) 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.