/basicOpen/packingTask/batchEditPackingBox{
"operation": {
"method": "POST",
"path": "/basicOpen/packingTask/batchEditPackingBox"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/basicOpen/packingTask/batchEditPackingBox?access_token=value×tamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '\n{\n \"snValue\": \"PL260423001\",\n \"list\": [\n {\n \"customBoxId\": \"BOX001\",\n \"boxLength\": \"10.00\",\n \"boxWidth\": \"10.00\",\n \"boxHeight\": \"20.00\",\n \"boxWeight\": \"5.00\",\n \"boxNum\": 1,\n \"ptbId\": \"250693132348194816\",\n \"boxProduct\": [\n {\n \"quantityInCase\": 2,\n \"ptpiId\": \"250693129738747904\",\n \"fnsku\":\"abc-1\"\n }\n ]\n }\n ],\n \"flag\": 1\n}'",
"responseExample": "{\n\t\"code\":0,\n\t\"message\":\"success\",\n\t\"error_details\":[],\n\t\"request_id\":\"a0d54debf93140f3b58d1ed81e8e3583\",\n\t\"response_time\":\"2026-04-23 12:00:00\",\n\t\"data\":{}\n}```"
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | snValue | 任务单号、关联单号 | string | — | Required | 任务单号、关联单号 |
| 2 | list | 装箱信息 | array<object> | — | Required | 装箱信息 |
| 2.1 | customBoxId | 箱子编号 | string | — | Required | 箱子编号,多个用,分隔 |
| 2.2 | boxLength | 箱子长(CM) | string | — | Required | 箱子长(CM) |
| 2.3 | boxWidth | 箱子宽(CM) | string | — | Required | 箱子宽(CM) |
| 2.4 | boxHeight | 箱子高(CM) | string | — | Required | 箱子高(CM) |
| 2.5 | boxWeight | 箱子重(KG) | string | — | Required | 箱子重(KG) |
| 2.6 | boxNum | 箱数 | integer | — | Required | 箱数 |
| 2.7 | ptbId | 箱子自增ID | string | — | Required | 箱子自增ID |
| 2.8 | boxProduct | 箱内产品 | array<object> | — | Required | 箱内产品 |
| 2.8.1 | quantityInCase | 单箱数量 | integer | — | Required | 单箱数量 |
| 2.8.2 | ptpiId | 装箱任务商品自增ID | string | — | Required | 装箱任务商品自增ID |
| 2.8.3 | fnsku | fnsku | string | — | Required | fnsku ,字段必须传,如商品里是空则传空 |
| 3 | flag | 1完成装箱 0为暂存 | integer | — | Required | 1完成装箱 0为暂存 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0:成功 |
| 2 | message | 消息提示 | string | success | Required | 消息提示 |
| 3 | error_details | 数据校验失败时的错误详情 | array<any> | — | Required | 数据校验失败时的错误详情 |
| 4 | request_id | 请求链路id | string | a0d54debf93140f3b58d1ed81e8e3583 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2026-04-23 12:00:00 | Required | 响应时间 |
| 6 | data | 响应数据 | object | — | Required | 响应数据 |
The 装箱任务 - 批量编辑装箱信息 API (/basicOpen/packingTask/batchEditPackingBox) 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.