/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
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | sys_wid | 领星系统仓库id | integer | — | 可选 | 领星系统仓库id,编辑时必传 |
| 2 | wid | 客户自定义仓库id【非领星系统ERP内仓库id】 | string | — | 可选 | 客户自定义仓库id【非领星系统ERP内仓库id】 |
| 3 | name | 仓库名称 | string | — | 必填 | 仓库名称 |
| 4 | contact | 负责人 | string | — | 可选 | 负责人 |
| 5 | telephone | 联系电话 | string | — | 可选 | 联系电话 |
| 6 | address | 仓库地址 | string | — | 可选 | 仓库地址 |
| 7 | remark | 备注 | string | — | 可选 | 备注 |
| 8 | type | 仓库属性 | integer | — | 可选 | 仓库属性:1 -本地仓 3 -海外自建仓,不传默认 1 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | FFE89896-B9C5-1634-5589-6E0F89F0E4A2 | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2020-04-30 17:33:32 | 必填 | 响应时间 |
| 6 | data | 响应数据 | array<any> | | 必填 | 响应数据 |
| 7 | data->wid | 领星系统仓库id | string | 1678 | 必填 | 领星系统仓库id |
领星ERP的接口:添加/修改仓库(/erp/sc/storage/wareHouse/edit),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。