Qeasy Cloud
Get Started

领星ERP 更新备货单 API

Platform
领星ERP
Type
WebAPI
Effect
EXECUTE
API Version
1.0
Adapter
\Adapter\LingXing\LXExecuteAdapter
Auth Mode
OTHER
Description
仓库 / 海外仓 · POST · 请求参数 72 个(必填 31) · 响应参数 6 个 · 限流令牌桶容量 1
Updated At
2026-11-21

更新备货单

POST/erp/sc/routing/owms/inbound/updateInbound
Factory
{
  "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"
          }
        ]
      }
    }
  }
}

Request Parameters

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

Response Parameters

No.FieldNameTypeDefaultRequiredDescription
1code状态码integer0Required状态码,0 成功
2message信息提示stringsuccessRequired信息提示
3error_details错误信息array<any>—Required错误信息
4request_id请求链路idstringD17B0688-C52D-1BA9-1BCC-50AA00058A3FRequired请求链路id
5response_time响应时间string2022-08-23 16:56:31Required响应时间
6data响应数据array<any>&nbsp;Required响应数据

The 更新备货单 API (/erp/sc/routing/owms/inbound/updateInbound) 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.

Need to integrate this API?

Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.