Qeasy Cloud
Get Started

领星ERP 分配并锁定库存 API

Platform
领星ERP
Type
WebAPI
Effect
QUERY
API Version
1.0
Adapter
\Adapter\LingXing\LXQueryAdapter
Auth Mode
OTHER
Description
FBA / 发货计划 / 海外仓发货计划 · POST · 请求参数 3 个(必填 1) · 响应参数 11 个
Updated At
2026-11-21

分配并锁定库存

POST/erp/sc/routing/owms/overseaStockPlan/lockOverseaStockPlanStock
Factory
{
  "operation": {
    "method": "POST",
    "path": "/erp/sc/routing/owms/overseaStockPlan/lockOverseaStockPlanStock"
  },
  "protocol": "HTTPS",
  "host": "https://openapi.lingxing.com",
  "requestExample": "curl --location 'https://openapi.lingxing.com/erp/sc/routing/owms/overseaStockPlan/lockOverseaStockPlanStock?access_token=value&timestamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n    \"order_sns\": [\n        \"PLAN-EXAMPLE\"\n    ],\n    \"is_combo_auto_process\": 0,\n    \"is_auto_adjust\": 0\n}'"
}

Request Parameters

No.FieldNameTypeDefaultRequiredDescription
1order_sns待锁定库存的海外仓备货计划单号列表array<any>—Required待锁定库存的海外仓备货计划单号列表;重复单号会自动去重。
2is_combo_auto_process组合品是否自动创建加工单integer—Optional组合品是否自动创建加工单,0=否,1=是。 可选值:0、1
3is_auto_adjust库存不足时是否自动换标integer—Optional库存不足时是否自动换标,0=否,1=是。 可选值:0、1

Response Parameters

No.FieldNameTypeDefaultRequiredDescription
1code业务结果码integer—Required业务结果码,与 HTTP 状态码不同;常见值为 1=成功、102=参数错误、1000=业务处理失败、500=系统错误。
2msg响应消息string—Required响应消息。
3datadataobject—Optional
3.1succ_num成功锁定库存的计划数量integer—Optional成功锁定库存的计划数量。
3.2fail_num锁定失败的计划数量integer—Optional锁定失败的计划数量。
3.3error锁定失败明细array<object>—Optional锁定失败明细。
3.3.1order_sn计划单号string—Optional计划单号。
3.3.2sku商品 SKUstring—Optional商品 SKU。
3.3.3fnsku商品 FNSKUstring—Optional商品 FNSKU。
3.3.4msg失败原因string—Optional失败原因。
4require_id请求追踪 IDstring—Optional请求追踪 ID;错误响应的 msg 还会附加请求码,便于排查。

The 分配并锁定库存 API (/erp/sc/routing/owms/overseaStockPlan/lockOverseaStockPlanStock) 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.