/basicOpen/selfShipmentOrder/importLabel{
"operation": {
"method": "POST",
"path": "/basicOpen/selfShipmentOrder/importLabel"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location --request POST 'http://openapi.lingxing.com/basicOpen/selfShipmentOrder/importLabel?app_key=value&access_token=value×tamp=value&sign=value' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n \"fileName\":\"bear_big.jpg\",\n \"trackingNo\":\"123456\",\n \"waybillNo\":\"123456\",\n \"woId\":6178,\n \"base64File\":\"\"\n}'",
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "47525526bfd3484cbb1aba1870a1b2c3.1744366551396",
"response_time": "2025-04-11 18:15:52",
"data": null
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | fileName | 面单文件名 | string | — | 必填 | 面单文件名 |
| 2 | base64File | base64File | string | — | 必填 | PDF/PNG/JPG/JPEG格式文件 Base64编码 |
| 3 | trackingNo | 运单号 | string | — | 必填 | 运单号 |
| 4 | waybillNo | 跟踪号 | string | — | 必填 | 跟踪号 |
| 5 | woId | 出库单id | integer | — | 必填 | 出库单id,对应查询销售出库单列表 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 错误说明 | string | success | 必填 | 错误说明 |
| 3 | request_id | 请求id | string | 69a2ddc2-f3bb-11ed-aed5-0242ac130003 | 必填 | 请求id |
| 4 | response_time | 请求时间 | string | 2023-05-16 15:29:41 | 必填 | 请求时间 |
| 5 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 6 | data | 响应数据 | object | — | 必填 | 响应数据 |
领星ERP的接口:导入面单(/basicOpen/selfShipmentOrder/importLabel),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。