轻易云
注册体验

领星ERP更新备货单物流信息接口

所属平台
领星ERP
类型
WebAPI
作用
EXECUTE
接口版本
1.0
适配器
\Adapter\LingXing\LXExecuteAdapter
授权方式
OTHER
描述
仓库 / 海外仓 · POST · 请求参数 48 个(必填 44) · 响应参数 6 个 · 限流令牌桶容量 1
更新日期
2026-11-21

更新备货单物流信息

POST/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": []
  }
}

接口请求参数

序号字段名称类型默认值必填描述
1overseas_order_no海外仓备货单号string—必填海外仓备货单号
2logistics_list物流信息array<object>—必填物流信息
2.1logistics_order_no物流单号string—必填物流单号
2.2logistics_money预估物流费用string—必填预估物流费用
2.3logistics_money_unit预估物流费用币种string—必填预估物流费用币种
2.4other_money预估其他费用string—必填预估其他费用
2.5other_money_unit预估其他费用币种string—必填预估其他费用币种
2.6track_order_no追踪号string—必填追踪号
2.7other_money_remark预估费用备注string—必填预估费用备注
2.8real_logistics_money实际物流费用number—必填实际物流费用
2.9real_logistics_money_unit实际物流费用币种string—必填实际物流费用币种
2.10real_other_money实际其他费用number—必填实际其他费用
2.11real_other_money_unit实际其他费用币种string—必填实际其他费用币种
2.12real_other_money_remark实际其他费用备注string—必填实际其他费用备注
3logistics_list_type物流信息版本integer—必填物流信息版本: 0:旧版,即将下线 1:新版
4head_logistics_listhead_logistics_listobject—必填新版头程物流信息(当logistics_list_type 为1时才有意义)
4.1logistics_tracking_number物流商单号string—可选物流商单号
4.2tax_fee_type税费分摊方式integer—必填税费分摊方式: 0:产品-计费重 1:产品-实重 2:产品-体积重 3:产品-数量 4:自定义 5:箱子-体积)
4.3tracking_list轨迹信息array<object>—必填轨迹信息
4.3.1tracking_no查询单号string—必填查询单号
4.3.2transport_type运输类型integer—必填运输类型: 1:快递 2:海运 3:空运 4:其他
4.3.3order_type_code单号类型integer—必填单号类型:【注意:与运输类型联动关系】 1:订舱号 2:提单号 3:箱号 4:其他 5:跟踪单号 6:航班号 当transport_type=1时只能传5 当transport_type=2时只能传1、2、3、4 当transport_type=3时只能传2、6
4.3.4shippers承运商【运输类型为海运时才有意义】string—必填承运商【运输类型为海运时才有意义】
4.3.5remark备注string—必填备注
4.4estimate_expenses_list费用明细-预估费用object—必填费用明细-预估费用
4.4.1chargeable_weight计费重(单位KG)string—可选计费重(单位KG),已废弃,同页面功能计费重不支持编辑
4.4.2price单价string—必填单价
4.4.3price_currency单价币种string—必填单价币种
4.4.4logistics_fee物流费用string—必填物流费用
4.4.5logistics_fee_currency物流费用币种string—必填物流费用币种
4.4.6remark备注string—可选备注
4.4.7other_fee_arr预估费用-其他费array<object>—必填预估费用-其他费: 获取发货单头程物流-其他费类型接口获取
4.4.7.1fee_type_id其他费id(20位)string—必填其他费id(20位)
4.4.7.2other_amount其他费金额string—必填其他费金额
4.4.7.3other_currency其他费币种string—必填其他费币种
4.5actual_expenses_list费用明细-实际费用object—必填费用明细-实际费用
4.5.1tax_fee税费string—必填税费
4.5.2tax_fee_currency税费币种string—必填税费币种
4.5.3chargeable_weight计费重string—必填计费重,已废弃,同页面功能计费重不支持编辑
4.5.4price单价string—必填单价
4.5.5price_currency单价币种string—必填单价币种
4.5.6logistics_fee物流费用string—必填物流费用
4.5.7logistics_fee_currency物流费用币种string—必填物流费用币种
4.5.8remark备注string—可选备注
4.5.9other_fee_arr实际费用-其他费array<object>—必填实际费用-其他费: 获取发货单头程物流-其他费类型接口获取
4.5.9.1fee_type_id其他费id(20位)string—必填其他费id(20位)
4.5.9.2other_amount其他费金额string—必填其他费金额
4.5.9.3other_currency其他费币种string—必填其他费币种

接口响应参数

序号字段名称类型默认值必填描述
1code状态码integer0必填状态码,0 成功
2message消息提示stringsuccess必填消息提示
3error_details错误信息array<any>—必填错误信息
4request_id请求链路idstring7E80FC0B-55C1-BAC5-0E4B-7AE59706F051必填请求链路id
5response_time响应时间string2023-07-24 15:12:10必填响应时间
6data响应数据array<any>&nbsp;必填响应数据

领星ERP的接口:更新备货单物流信息(/erp/sc/routing/owms/inbound/updateLogistics),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。

需要对接这个接口?

轻易云已预置该接口的适配能力,联系我们即可开始配置数据集成。