/erp/sc/routing/wms/order/setOrderWeighed{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/wms/order/setOrderWeighed"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/erp/sc/routing/wms/order/setOrderWeighed?access_token=&app_key=&sign=×tamp=' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"order_number\": \"103536668312138123\",\n \"pkg_real_weight\": \"123\",\n \"pkg_real_weight_unit\": \"g\",\n \"sync_product_gross_weight\": \"0\"\n}'",
"responseExample": {
"code": 0,
"message": "",
"error_details": "",
"request_id": "1D30B180-86C2-B50C-C26E-804FD2B3EE0F",
"response_time": "2025-02-19 15:57:16",
"data": [],
"total": 0
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | order_number | 系统单号 与销售出库单二选一 | string | — | 可选 | 系统单号 与销售出库单二选一 |
| 2 | wo_number | 销售出库单 与系统单号二选一 | string | — | 可选 | 销售出库单 与系统单号二选一 |
| 3 | pkg_real_weight | 重量 | string | — | 必填 | 重量 |
| 4 | pkg_real_weight_unit | 单位 支持 g | string | — | 必填 | 单位 支持 g,kg,oz,lb |
| 5 | sync_product_gross_weight | 一单一件同步重量到产品模块 0 | string | — | 可选 | 一单一件同步重量到产品模块 0:否,1:是 默认否 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | number | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | 99C3E97E-821D-911A-CEA5-C9212020038F | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2025-02-18 14:15:38 | 必填 | 响应时间 |
| 6 | data | 响应数据(空) | array<any> | — | 必填 | 响应数据(空) |
| 7 | total | 总数 | number | 0 | 必填 | 总数 |
领星ERP的接口:订单称重(/erp/sc/routing/wms/order/setOrderWeighed),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。