轻易云
注册体验

领星ERP添加/修改仓库接口

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

添加/修改仓库

POST/erp/sc/storage/wareHouse/edit
加工厂
{
  "operation": {
    "method": "POST",
    "path": "/erp/sc/storage/wareHouse/edit"
  },
  "protocol": "HTTPS",
  "host": "https://openapi.lingxing.com",
  "rateLimit": {
    "tokenBucketCapacity": 10,
    "text": ""
  },
  "requestExample": {
    "wid": 1567,
    "name": "Charon",
    "contact": "Charon",
    "telephone": "15767777777",
    "address": "xxxx",
    "remark": "ceshi"
  },
  "responseExample": {
    "code": 0,
    "message": "success",
    "error_details": [],
    "request_id": "E37BFD54-8BEA-3763-85B5-EE025CC27C48",
    "response_time": "2024-07-31 14:38:40",
    "data": {
      "wid": 1678
    },
    "total": 0
  }
}

接口请求参数

序号字段名称类型默认值必填描述
1sys_wid领星系统仓库idinteger—可选领星系统仓库id,编辑时必传
2wid客户自定义仓库id【非领星系统ERP内仓库id】string—可选客户自定义仓库id【非领星系统ERP内仓库id】
3name仓库名称string—必填仓库名称
4contact负责人string—可选负责人
5telephone联系电话string—可选联系电话
6address仓库地址string—可选仓库地址
7remark备注string—可选备注
8type仓库属性integer—可选仓库属性:1 -本地仓 3 -海外自建仓,不传默认 1

接口响应参数

序号字段名称类型默认值必填描述
1code状态码integer0必填状态码,0 成功
2message消息提示stringsuccess必填消息提示
3error_details错误信息array<any>—必填错误信息
4request_id请求链路idstringFFE89896-B9C5-1634-5589-6E0F89F0E4A2必填请求链路id
5response_time响应时间string2020-04-30 17:33:32必填响应时间
6data响应数据array<any>&nbsp;必填响应数据
7data->wid领星系统仓库idstring1678必填领星系统仓库id

领星ERP的接口:添加/修改仓库(/erp/sc/storage/wareHouse/edit),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。

需要对接这个接口?

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