/erp/sc/routing/owms/overseaStockPlan/releaseOverseaStockPlanStock{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/owms/overseaStockPlan/releaseOverseaStockPlanStock"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"requestExample": "curl --location 'https://openapi.lingxing.com/erp/sc/routing/owms/overseaStockPlan/releaseOverseaStockPlanStock?access_token=value×tamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"order_sns\": [\n \"PLAN-EXAMPLE\"\n ]\n}'"
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | order_sns | 待释放库存的海外仓备货计划单号列表 | array<any> | — | Required | 待释放库存的海外仓备货计划单号列表;重复单号会自动去重。 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 业务结果码 | integer | — | Required | 业务结果码,与 HTTP 状态码不同;常见值为 1=成功、102=参数错误、1000=业务处理失败、500=系统错误。 |
| 2 | msg | 响应消息 | string | — | Required | 响应消息。 |
| 3 | data | 库存释放实际执行后的结果 | object | — | Optional | 库存释放实际执行后的结果;仅处理前置校验失败时,此 data 不返回。 |
| 3.1 | error | 释放失败的计划列表 | array<object> | — | Required | 释放失败的计划列表;全部成功时为空数组。 |
| 3.1.1 | order_sn | 失败计划单号 | string | — | Required | 失败计划单号。 |
| 3.1.2 | msg | 业务失败原因 | string | — | Required | 业务失败原因;非业务异常返回固定系统错误提示。 |
| 3.2 | fail_num | 释放失败的计划数量 | integer | — | Required | 释放失败的计划数量。 最小值:0 |
| 3.3 | succ_num | 成功释放库存的计划数量 | integer | — | Required | 成功释放库存的计划数量。 最小值:0 |
| 4 | require_id | 请求追踪 ID | string | — | Optional | 请求追踪 ID;错误响应的 msg 还会附加请求码,便于排查。 |
| 5 | error_details | 仅错误响应携带 | array<any> | — | Optional | 仅错误响应携带;执行失败时首条为统计,其余逐条为失败单号及原因。 |
The 释放已锁定库存 API (/erp/sc/routing/owms/overseaStockPlan/releaseOverseaStockPlanStock) 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.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.