轻易云
注册体验

领星ERP更新备货单接口

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

更新备货单

POST/erp/sc/routing/owms/inbound/updateInbound
加工厂
{
  "operation": {
    "method": "POST",
    "path": "/erp/sc/routing/owms/inbound/updateInbound"
  },
  "protocol": "HTTPS",
  "host": "https://openapi.lingxing.com",
  "rateLimit": {
    "tokenBucketCapacity": 1,
    "text": ""
  },
  "requestExample": {
    "overseas_order_no": "OWS220624005",
    "logistics_id": 35,
    "share_id": 1,
    "overseas_type": 1,
    "arrival_time": "2022-06-24 12:10:25",
    "estimated_time": "2022-06-25 12:10:25",
    "real_delivery_time": "2022-6-24 12:00:25",
    "remark": "999",
    "file_id": "",
    "logistics_list": [
      {
        "wool_id": 2949,
        "operation_type": 2,
        "logistics_money": "77.00",
        "logistics_money_unit": "CNY",
        "other_money": "5",
        "other_money_unit": "CNY",
        "other_money_remark": "",
        "real_logistics_money": "300.00",
        "real_logistics_money_unit": "CNY",
        "real_other_money": "10.00",
        "real_other_money_unit": "CNY",
        "real_other_money_remark": "",
        "logistics_order_no": "99",
        "track_order_no": "2333"
      }
    ],
    "product_list": [
      {
        "product_id": 2117299,
        "product_code": "TESTSKU1",
        "cg_package_height": "50.00",
        "cg_package_length": "20.00",
        "cg_package_width": "10.02",
        "cg_product_gross_weight": "20.00",
        "fba_cost": "9",
        "fba_cost_currency_unit": "CNY",
        "tariffs": "8",
        "tariffs_currency_unit": "CNY",
        "fnsku": "",
        "sid": 0,
        "stock_num": 7,
        "remark": "商品备注999999999999999"
      }
    ],
    "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"
          }
        ]
      }
    }
  }
}

接口请求参数

序号字段名称类型默认值必填描述
1overseas_order_no海外仓备货单号string—必填海外仓备货单号
2logistics_id物流方式id【按计费重分摊时integer—可选物流方式id【按计费重分摊时,需传对应物流方式,以获取材积参数用于计算】
3product_list产品信息array<object>—可选产品信息
3.1product_id本地商品idinteger—可选本地商品id
3.2fnskufnskustring—可选fnsku
3.3tariffs报关费用number—可选报关费用
3.4tariffs_currency_unit报关费用币种string—可选报关费用币种
3.5cg_product_gross_weight单品净重(G)number—可选单品净重(G)
3.6cg_package_length包装规格-长(CM)number—可选包装规格-长(CM)
3.7cg_package_width包装规格-宽(CM)number—可选包装规格-宽(CM)
3.8cg_package_height包装规格-高(CM)number—可选包装规格-高(CM)
3.9stock_num备货数量integer—可选备货数量,整箱配对需要乘以配对数量
3.10sid店铺idstring—可选店铺id,有fnsku填
3.11product_code三方产品编码string—可选三方产品编码
3.12fba_cost单位头程费用number—可选单位头程费用
3.13fba_cost_currency_unit单位头程费用币种单位string—可选单位头程费用币种单位
3.14remark商品备注string—可选商品备注
4estimated_time预计到货时间string—可选预计到货时间
5arrival_time实际到货时间string—可选实际到货时间
6share_id头程费分配方式integer—可选头程费分配方式: 0 按计费重【默认值】 1 按实重 2 按体积重 3 按SKU数量 4自定义
7remark备注string—可选备注
8file_id附件idstring—可选附件id
9overseas_type下单至第三方【当收货仓为API海外仓时可填integer—可选下单至第三方【当收货仓为API海外仓时可填,不填默认为是】:1 否,2 是【默认】
10real_delivery_time实际发货时间string—可选实际发货时间,格式:Y-m-d H:i:s
11logistics_list_type物流信息版本integer—必填物流信息版本:0或者不传:默认旧版物流信息 1:新版物流信息
12head_logistics_listhead_logistics_listobject—必填新版头程物流信息(当logistics_list_type 为1时才有意义)
12.1tax_fee_type税费分摊方式integer—必填税费分摊方式: 0:产品-计费重 1:产品-实重 2:产品-体积重 3:产品-数量 4:自定义 5:箱子-体积)
12.2tracking_list轨迹信息array<object>—必填轨迹信息
12.2.1tracking_no查询单号string—必填查询单号
12.2.2transport_type运输类型integer—必填运输类型: 1:快递 2:海运 3:空运 4:其他
12.2.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
12.2.4shippers承运商【运输类型为海运时才有意义】string—必填承运商【运输类型为海运时才有意义】
12.2.5remark备注string—必填备注
12.3estimate_expenses_list费用明细-预估费用object—必填费用明细-预估费用
12.3.1chargeable_weight计费重(单位KG)string—可选计费重(单位KG),已废弃,同页面功能计费重不支持编辑
12.3.2price单价string—必填单价
12.3.3price_currency单价币种string—必填单价币种
12.3.4logistics_fee物流费用string—必填物流费用
12.3.5logistics_fee_currency物流费用币种string—必填物流费用币种
12.3.6remark备注string—可选备注
12.3.7other_fee_arr预估费用-其他费array<object>—必填预估费用-其他费: 获取发货单头程物流-其他费类型接口获取
12.3.7.1fee_type_id其他费id(20位)string—必填其他费id(20位)
12.3.7.2other_amount其他费金额string—必填其他费金额
12.3.7.3other_currency其他费币种string—必填其他费币种
12.4actual_expenses_list费用明细-实际费用object—必填费用明细-实际费用
12.4.1tax_fee税费string—必填税费
12.4.2tax_fee_currency税费币种string—必填税费币种
12.4.3chargeable_weight计费重string—必填计费重,已废弃,同页面功能计费重不支持编辑
12.4.4price单价string—必填单价
12.4.5price_currency单价币种string—必填单价币种
12.4.6logistics_fee物流费用string—必填物流费用
12.4.7logistics_fee_currency物流费用币种string—必填物流费用币种
12.4.8remark备注string—可选备注
12.4.9other_fee_arr实际费用-其他费array<object>—必填实际费用-其他费: 获取发货单头程物流-其他费类型接口获取
12.4.9.1fee_type_id其他费id(20位)string—必填其他费id(20位)
12.4.9.2other_amount其他费金额string—必填其他费金额
12.4.9.3other_currency其他费币种string—必填其他费币种
13logistics_list旧版物流信息array<object>—可选旧版物流信息,即将下线
13.1logistics_order_no物流单号string—可选物流单号
13.2logistics_money预估物流费用string—可选预估物流费用
13.3logistics_money_unit预估物流费用币种string—可选预估物流费用币种
13.4other_money预估其他费用string—可选预估其他费用
13.5other_money_unit预估其他费用币种string—可选预估其他费用币种
13.6track_order_no追踪号string—可选追踪号
13.7other_money_remark预估费用备注string—可选预估费用备注
13.8real_logistics_money实际物流费用number—可选实际物流费用
13.9real_logistics_money_unit实际物流费用币种string—可选实际物流费用币种
13.10real_other_money实际其他费用number—可选实际其他费用
13.11real_other_money_unit实际其他费用币种string—可选实际其他费用币种
13.12real_other_money_remark实际其他费用备注string—可选实际其他费用备注
13.13wool_id物流记录idinteger—可选物流记录id
13.14operation_type物流费用操作类型integer—可选物流费用操作类型:=新增2=修改3=删除

接口响应参数

序号字段名称类型默认值必填描述
1code状态码integer0必填状态码,0 成功
2message信息提示stringsuccess必填信息提示
3error_details错误信息array<any>—必填错误信息
4request_id请求链路idstringD17B0688-C52D-1BA9-1BCC-50AA00058A3F必填请求链路id
5response_time响应时间string2022-08-23 16:56:31必填响应时间
6data响应数据array<any>&nbsp;必填响应数据

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

需要对接这个接口?

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