/erp/sc/routing/purchase/purchase/addLogistics{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/purchase/purchase/addLogistics"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"order_sn": "POC240802001",
"items": [
{
"logistics_company": "中通快递",
"logistics_order_no": "ZT12456789"
}
]
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | order_sn | 采购单号(待到货或已完成状态) | string | — | Required | 采购单号(待到货或已完成状态) |
| 2 | items | 物流信息 | array<object> | — | Required | 物流信息 |
| 2.1 | logistics_company | 物流商 | string | — | Required | 物流商 |
| 2.2 | logistics_order_no | 物流单号(支持字母、数字、下划线、短划线) | string | — | Required | 物流单号(支持字母、数字、下划线、短划线) |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | message | 响应消息 | string | 操作成功 | Required | 响应消息 |
| 3 | error_details | 错误信息 | array<any> | — | Required | 错误信息 |
| 4 | request_id | 请求链路id | string | 8DFEE1CA-EC9B-F401-5D41-9F95251D5D50 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2020-09-21 15:48:58 | Required | 响应时间 |
| 6 | data | 数据 | array<any> | — | Required | 数据 |
| 7 | total | total | integer | | Required |
The 添加采购单物流信息 API (/erp/sc/routing/purchase/purchase/addLogistics) 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.