/erp/sc/routing/owms/inbound/updateLogistics{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/owms/inbound/updateLogistics"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"overseas_order_no": "OWS230700001",
"logistics_list": [
{
"logistics_order_no": "1233385552",
"logistics_money": "100",
"logistics_money_unit": "USD",
"other_money": "200",
"other_money_unit": "USD",
"track_order_no": "526654523",
"other_money_remark": "this is remark",
"real_logistics_money": 100,
"real_logistics_money_unit": "USD",
"real_other_money": 100,
"real_other_money_unit": "USD",
"real_other_money_remark": "remark"
}
],
"logistics_list_type": 0,
"head_logistics_list": {
"tax_fee_type": 1,
"tracking_list": [
{
"tracking_no": "cxdhxxxxxx123",
"transport_type": "1",
"order_type_code": "5",
"shippers": "coscoxxx",
"remark": "备注"
}
],
"estimate_expenses_list": {
"chargeable_weight": "111.00",
"price": "1.00",
"price_currency": "CNY",
"logistics_fee": "1.00",
"logistics_fee_currency": "CNY",
"remark": "预估费用备注",
"other_fee_arr": [
{
"fee_type_id": "241192037543649792",
"other_amount": "1.00",
"other_currency": "CNY"
}
]
},
"actual_expenses_list": {
"tax_fee": "1",
"tax_fee_currency": "CNY",
"chargeable_weight": "111.00",
"price": "111.00",
"price_currency": "CNY",
"logistics_fee": "111.00",
"logistics_fee_currency": "CNY",
"remark": "实际费用备注",
"other_fee_arr": [
{
"fee_type_id": "241192037543649792",
"other_amount": "111.00",
"other_currency": "CNY"
}
]
}
}
},
"responseExample": {
"code": 0,
"message": "success",
"request_id": "7E80FC0B-55C1-BAC5-0E4B-7AE59706F051",
"response_time": "2023-07-24 15:12:10",
"error_details": [],
"data": []
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | overseas_order_no | 海外仓备货单号 | string | — | Required | 海外仓备货单号 |
| 2 | logistics_list | 物流信息 | array<object> | — | Required | 物流信息 |
| 2.1 | logistics_order_no | 物流单号 | string | — | Required | 物流单号 |
| 2.2 | logistics_money | 预估物流费用 | string | — | Required | 预估物流费用 |
| 2.3 | logistics_money_unit | 预估物流费用币种 | string | — | Required | 预估物流费用币种 |
| 2.4 | other_money | 预估其他费用 | string | — | Required | 预估其他费用 |
| 2.5 | other_money_unit | 预估其他费用币种 | string | — | Required | 预估其他费用币种 |
| 2.6 | track_order_no | 追踪号 | string | — | Required | 追踪号 |
| 2.7 | other_money_remark | 预估费用备注 | string | — | Required | 预估费用备注 |
| 2.8 | real_logistics_money | 实际物流费用 | number | — | Required | 实际物流费用 |
| 2.9 | real_logistics_money_unit | 实际物流费用币种 | string | — | Required | 实际物流费用币种 |
| 2.10 | real_other_money | 实际其他费用 | number | — | Required | 实际其他费用 |
| 2.11 | real_other_money_unit | 实际其他费用币种 | string | — | Required | 实际其他费用币种 |
| 2.12 | real_other_money_remark | 实际其他费用备注 | string | — | Required | 实际其他费用备注 |
| 3 | logistics_list_type | 物流信息版本 | integer | — | Required | 物流信息版本: 0:旧版,即将下线 1:新版 |
| 4 | head_logistics_list | head_logistics_list | object | — | Required | 新版头程物流信息(当logistics_list_type 为1时才有意义) |
| 4.1 | logistics_tracking_number | 物流商单号 | string | — | Optional | 物流商单号 |
| 4.2 | tax_fee_type | 税费分摊方式 | integer | — | Required | 税费分摊方式: 0:产品-计费重 1:产品-实重 2:产品-体积重 3:产品-数量 4:自定义 5:箱子-体积) |
| 4.3 | tracking_list | 轨迹信息 | array<object> | — | Required | 轨迹信息 |
| 4.3.1 | tracking_no | 查询单号 | string | — | Required | 查询单号 |
| 4.3.2 | transport_type | 运输类型 | integer | — | Required | 运输类型: 1:快递 2:海运 3:空运 4:其他 |
| 4.3.3 | order_type_code | 单号类型 | integer | — | Required | 单号类型:【注意:与运输类型联动关系】 1:订舱号 2:提单号 3:箱号 4:其他 5:跟踪单号 6:航班号 当transport_type=1时只能传5 当transport_type=2时只能传1、2、3、4 当transport_type=3时只能传2、6 |
| 4.3.4 | shippers | 承运商【运输类型为海运时才有意义】 | string | — | Required | 承运商【运输类型为海运时才有意义】 |
| 4.3.5 | remark | 备注 | string | — | Required | 备注 |
| 4.4 | estimate_expenses_list | 费用明细-预估费用 | object | — | Required | 费用明细-预估费用 |
| 4.4.1 | chargeable_weight | 计费重(单位KG) | string | — | Optional | 计费重(单位KG),已废弃,同页面功能计费重不支持编辑 |
| 4.4.2 | price | 单价 | string | — | Required | 单价 |
| 4.4.3 | price_currency | 单价币种 | string | — | Required | 单价币种 |
| 4.4.4 | logistics_fee | 物流费用 | string | — | Required | 物流费用 |
| 4.4.5 | logistics_fee_currency | 物流费用币种 | string | — | Required | 物流费用币种 |
| 4.4.6 | remark | 备注 | string | — | Optional | 备注 |
| 4.4.7 | other_fee_arr | 预估费用-其他费 | array<object> | — | Required | 预估费用-其他费: 获取发货单头程物流-其他费类型接口获取 |
| 4.4.7.1 | fee_type_id | 其他费id(20位) | string | — | Required | 其他费id(20位) |
| 4.4.7.2 | other_amount | 其他费金额 | string | — | Required | 其他费金额 |
| 4.4.7.3 | other_currency | 其他费币种 | string | — | Required | 其他费币种 |
| 4.5 | actual_expenses_list | 费用明细-实际费用 | object | — | Required | 费用明细-实际费用 |
| 4.5.1 | tax_fee | 税费 | string | — | Required | 税费 |
| 4.5.2 | tax_fee_currency | 税费币种 | string | — | Required | 税费币种 |
| 4.5.3 | chargeable_weight | 计费重 | string | — | Required | 计费重,已废弃,同页面功能计费重不支持编辑 |
| 4.5.4 | price | 单价 | string | — | Required | 单价 |
| 4.5.5 | price_currency | 单价币种 | string | — | Required | 单价币种 |
| 4.5.6 | logistics_fee | 物流费用 | string | — | Required | 物流费用 |
| 4.5.7 | logistics_fee_currency | 物流费用币种 | string | — | Required | 物流费用币种 |
| 4.5.8 | remark | 备注 | string | — | Optional | 备注 |
| 4.5.9 | other_fee_arr | 实际费用-其他费 | array<object> | — | Required | 实际费用-其他费: 获取发货单头程物流-其他费类型接口获取 |
| 4.5.9.1 | fee_type_id | 其他费id(20位) | string | — | Required | 其他费id(20位) |
| 4.5.9.2 | other_amount | 其他费金额 | string | — | Required | 其他费金额 |
| 4.5.9.3 | other_currency | 其他费币种 | string | — | Required | 其他费币种 |
| 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 | 7E80FC0B-55C1-BAC5-0E4B-7AE59706F051 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2023-07-24 15:12:10 | Required | 响应时间 |
| 6 | data | 响应数据 | array<any> | | Required | 响应数据 |
The 更新备货单物流信息 API (/erp/sc/routing/owms/inbound/updateLogistics) 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.