轻易云
注册体验

领星ERP生成待发货发货单(关联发货计划)接口

所属平台
领星ERP
类型
WebAPI
作用
EXECUTE
接口版本
1.0
适配器
\Adapter\LingXing\LXExecuteAdapter
授权方式
OTHER
描述
FBA / 发货单 · POST · 请求参数 82 个(必填 26) · 响应参数 5 个
更新日期
2026-11-21

生成待发货发货单(关联发货计划)

POST/erp/sc/routing/storage/shipment/createReadySendOrderByShipmentPlan
加工厂
{
  "operation": {
    "method": "POST",
    "path": "/erp/sc/routing/storage/shipment/createReadySendOrderByShipmentPlan"
  },
  "protocol": "HTTPS",
  "host": "https://openapi.lingxing.com",
  "requestExample": {
    "wid": "WH001",
    "box_type": "SINGLE",
    "plan_list": [
      {
        "shipment_plan_sn": "R260602006",
        "num": 1
      }
    ]
  }
}

接口请求参数

序号字段名称类型默认值必填描述
1wid客户仓库编号string—可选客户仓库编号;wid 与 sys_wid 至少填写一个。 最大长度:16
2sys_wid系统仓库 IDinteger—可选系统仓库 ID;wid 未填写时必填。
3expected_arrival_date预计到货日期string—可选预计到货日期。
4etd_date运输开始时间string—可选运输开始时间。
5eta_date运输到达时间string—可选运输到达时间。
6delivery_datedelivery_datestring—可选
7head_fee_type头程费分配方式integer—可选头程费分配方式;0=按计费重,1=按实重,2=按体积重,3=按SKU数量,4=自定义,5=按箱子体积。 可选值:0、1、2、3、4、5
8tax_fee_type实际税费分配方式integer—可选实际税费分配方式;0=产品-计费重,1=产品-实重,2=产品-体积重,3=产品-数量,4=自定义,5=箱子-体积。 可选值:0、1、2、3、4、5
9is_points_behind是否分抛计算integer—可选是否分抛计算;0=否,1=是。仅头程费分配方式为按计费重时使用。 可选值:0、1
10points_behind_coeffient分抛系数integer—可选分抛系数;is_points_behind=1 时必填。 最小值:0 最大值:100
11remark发货单备注string—可选发货单备注。 最大长度:1000
12is_related是否自动扣减单品库存integer—可选是否自动扣减单品库存。 可选值:0、1
13is_pick是否创建后立即发起拣货integer—可选是否创建后立即发起拣货。 可选值:0、1
14principal_uids发货单负责人 UID 列表array<any>—可选发货单负责人 UID 列表。
15request_flag最大长度string—可选最大长度:255
16ship_mode1=常规发货integer—可选1=常规发货,2=工厂直发。 可选值:1、2
17hand_pick_purchase工厂直发时手动选择采购批次integer—可选工厂直发时手动选择采购批次,2=是。 可选值:1、2
18logistics_channel_id最大长度string—可选最大长度:255
19head_logistics_list新版头程物流信息object—可选新版头程物流信息。仅支持该字段,不接受 logistics_list_type 和 logistics_list。
19.1tracking_list轨迹信息数组array<object>—可选轨迹信息数组。
19.1.1tracking_no查询单号string—可选查询单号。
19.1.2transport_type运输类型string—可选运输类型;1=快递,2=海运,3=空运,4=其他。 可选值:1、2、3、4
19.1.3order_type_code单号类型integer—可选单号类型;1=订舱号,2=提单号,3=箱号,4=其他,5=跟踪单号,6=航班号。transport_type=1 时只能传5;=2 时只能传1、2、3、4;=3 时只能传2、6;=4 时必须为空。 可选值:1、2、3、4、5、6
19.1.4shippers承运商string—可选承运商;仅海运时有意义,通过“获取发货单头程物流-承运商信息”接口获取。
19.1.5remark备注string—可选备注。
19.2estimate_expenses_list费用明细-预估费用object—可选费用明细-预估费用。
19.2.1chargeable_weight计费重string—可选计费重,单位KG。
19.2.2price单价string—必填单价。
19.2.3price_currency单价币种string—必填单价币种。
19.2.4logistics_fee物流费用string—必填物流费用。
19.2.5logistics_fee_currency物流费用币种string—必填物流费用币种。
19.2.6remark备注string—可选备注。
19.2.7other_fee_arr预估费用-其他费array<object>—可选预估费用-其他费;其他费类型通过“获取发货单头程物流-其他费类型”接口获取。
19.2.7.1fee_type_id其他费IDstring—必填其他费ID。
19.2.7.2other_amount其他费金额string—必填其他费金额。
19.2.7.3other_currency其他费币种string—必填其他费币种。
19.3actual_expenses_list费用明细-实际费用object—可选费用明细-实际费用。
19.3.1tax_fee税费string—必填税费。
19.3.2tax_fee_currency税费币种string—必填税费币种。
19.3.3chargeable_weight计费重string—必填计费重,废弃字段。
19.3.4weight实重string—必填实重,单位KG。
19.3.5volume体积string—必填体积,单位m³。
19.3.6price单价string—必填单价。
19.3.7price_currency单价币种string—必填单价币种。
19.3.8logistics_fee物流费用string—必填物流费用。
19.3.9logistics_fee_currency物流费用币种string—必填物流费用币种。
19.3.10remark备注string—可选备注。
19.3.11other_fee_arr实际费用-其他费array<object>—可选实际费用-其他费;其他费类型通过“获取发货单头程物流-其他费类型”接口获取。
19.3.11.1fee_type_id其他费IDstring—必填其他费ID。
19.3.11.2other_amount其他费金额string—必填其他费金额。
19.3.11.3other_currency其他费币种string—必填其他费币种。
20box_type可选值string—可选可选值:SINGLE、MULTIPLE
21box_listMULTIPLE 时必填array<object>—可选MULTIPLE 时必填;box_skus 只按 shipment_plan_sn 引用 plan_list。
21.1box_num最小值integer—可选最小值:0
21.2cg_box_length最小值number—可选最小值:0
21.3cg_box_width最小值number—可选最小值:0
21.4cg_box_height最小值number—可选最小值:0
21.5cg_box_weight最小值number—可选最小值:0
21.6box_skusbox_skusarray<object>—必填
21.6.1shipment_plan_sn本次 plan_list 中的计划编号string—必填本次 plan_list 中的计划编号。 最大长度:50
21.6.2quantity_in_case最小值integer—必填最小值:1
22plan_list发货计划商品列表array<object>—必填发货计划商品列表;shipment_plan_sn 不可重复。
22.1shipment_plan_sn发货计划编号string—必填发货计划编号。 最大长度:50
22.2num本次发货数量integer—必填本次发货数量;小于计划数量时服务端按拆分计划处理。 最小值:1
22.3warehouse_seller_id发货仓店铺 IDinteger—可选发货仓店铺 ID;已锁定库存的计划不得修改。 最小值:0
22.4warehouse_fnsku仓库 FNSKUstring—可选仓库 FNSKU;已锁定库存的计划不得修改。 最大长度:50
22.5cg_product_gross_weight未传或为空时使用计划商品毛重number—可选未传或为空时使用计划商品毛重。 最小值:0
22.6cg_product_net_weight未传或为空时使用计划商品净重number—可选未传或为空时使用计划商品净重。 最小值:0
22.7cg_package_length未传或为空时使用计划包装长number—可选未传或为空时使用计划包装长。 最小值:0
22.8cg_package_width未传或为空时使用计划包装宽number—可选未传或为空时使用计划包装宽。 最小值:0
22.9cg_package_height未传或为空时使用计划包装高number—可选未传或为空时使用计划包装高。 最小值:0
22.10cg_box_weight未传或为空时使用计划箱重number—可选未传或为空时使用计划箱重。 最小值:0
22.11transport_cost最小值number—可选最小值:0
22.12remark最大长度string—可选最大长度:255
22.13purchase_items沿用既有发货单采购关联字段array<any>—可选沿用既有发货单采购关联字段。
22.14warehouse_items多仓出库明细array<object>—可选多仓出库明细。
22.14.1wid最大长度string—可选最大长度:16
22.14.2sys_widsys_widinteger—可选
22.14.3out_num最小值integer—必填最小值:1
22.14.4warehouse_seller_id最小值integer—可选最小值:0
22.14.5warehouse_fnsku最大长度string—可选最大长度:50
22.14.6purchase_itemspurchase_itemsarray<any>—可选

接口响应参数

序号字段名称类型默认值必填描述
1codecodeinteger1必填
2msgmsgstringsuccess必填
3require_idrequire_idstring—可选
4datadataobject—必填
4.1order_sn新生成的发货单号string—必填新生成的发货单号。

领星ERP的接口:生成待发货发货单(关联发货计划)(/erp/sc/routing/storage/shipment/createReadySendOrderByShipmentPlan),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。

需要对接这个接口?

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