/erp/sc/data/local_inventory/channelList{
"operation": {
"method": "POST",
"path": "/erp/sc/data/local_inventory/channelList"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"offset": 0,
"length": 20
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "C86C5A38-E441-3C6A-9D68-BCD59CBB9183",
"response_time": "2023-07-06 18:43:46",
"data": [
{
"id": "1",
"channel_name": "测试7777",
"billing_type": 0,
"volume_calc_param": 5000,
"zip_code": "efef",
"valid_period": 0,
"remark": "1111111",
"last_modify_uid": 10317908,
"gmt_modified": "2023-04-21 17:44:28",
"provider": {
"id": "3",
"logistics_provider_name": "test10"
},
"freight": [
{
"country_code": "",
"region_code": "",
"billing_weight_start": "0.00",
"billing_price": "5.00"
}
],
"send_place_codes": [],
"receive_country_codes": [],
"is_include_tax": 0,
"is_points_behind": 0,
"points_behind_coeffient": 0
}
],
"total": 1
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | offset | 分页偏移量 | integer | — | 必填 | 分页偏移量 |
| 2 | length | 分页长度 | integer | — | 必填 | 分页长度 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | C4B16647-7899-6178-F08A-79B20AE0E7F7 | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2021-03-23 16:55:23 | 必填 | 响应时间 |
| 6 | total | 总数 | integer | 1 | 必填 | 总数 |
| 7 | data | 响应数据 | array<object> | — | 必填 | 响应数据 |
| 7.1 | id | 物流渠道id【对应ERP页面“物流方案代码”】 | integer | 10000405 | 必填 | 物流渠道id【对应ERP页面“物流方案代码”】 |
| 7.2 | channel_name | 物流渠道 | string | 测试7777 | 必填 | 物流渠道 |
| 7.3 | method_id | 运输方式id | string | 132456 | 必填 | 运输方式id |
| 7.4 | method_name | 运输方式名称 | string | 海派 | 必填 | 运输方式名称 |
| 7.5 | billing_type | 计费类型 | integer | 0 | 必填 | 计费类型:0 计费重,1 体积 |
| 7.6 | volume_calc_param | 材积计算参数 | string | 154 | 必填 | 材积计算参数 |
| 7.7 | zip_code | 邮编 | string | 323 | 必填 | 邮编 |
| 7.8 | valid_period | 时效天数 | integer | 3 | 必填 | 时效天数 |
| 7.9 | remark | 备注 | string | — | 必填 | 备注 |
| 7.10 | enabled | 状态 | integer | 1 | 必填 | 状态:0 停用、1 启用 |
| 7.11 | last_modify_uid | 最后更新数据用户id | integer | 626 | 必填 | 最后更新数据用户id |
| 7.12 | gmt_modified | 更新时间 | string | 2022-12-09 17:16:46 | 必填 | 更新时间 |
| 7.13 | provider | 物流商信息 | object | — | 必填 | 物流商信息 |
| 7.13.1 | id | 所属头程物流商id | string | 69 | 必填 | 所属头程物流商id |
| 7.13.2 | logistics_provider_name | 所属头程物流商名称 | string | 默认物流商1 | 必填 | 所属头程物流商名称 |
| 7.14 | freight | 运费规则 | array<object> | — | 必填 | 运费规则 |
| 7.14.1 | country_code | 国家 | string | US | 必填 | 国家 |
| 7.14.2 | region_code | 分区 | string | EAST | 必填 | 分区 |
| 7.14.3 | billing_weight_start | 计费重量范围开始 | number | 21 | 必填 | 计费重量范围开始 |
| 7.14.4 | billing_price | 计费价格 | number | 41 | 必填 | 计费价格 |
| 7.15 | send_place_code | 提货地代码 | string | 82 | 必填 | 提货地代码 |
| 7.16 | receive_country_code | 目的国家二字码 | string | IT | 必填 | 目的国家二字码 |
| 7.17 | is_include_tax | 是否包税 | integer | 0 | 必填 | 是否包税:0 否,1 是 |
| 7.18 | is_points_behind | 是否分抛 | integer | 1 | 必填 | 是否分抛:0 否,1 是 |
| 7.19 | points_behind_coeffient | 分抛系数 | number | 10 | 必填 | 分抛系数,不带% |
领星ERP的接口:查询头程物流渠道列表(/erp/sc/data/local_inventory/channelList),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。