You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
### 修改客户
|
|
|
|
此接口用于修改WMS中的客户
|
|
|
|
此接口需要认证,详情请查看《认证方式》。
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### 基本信息
|
|
|
|
方法:POST
|
|
|
|
URL: http://localhost:8033/open/UpdateWmsCustomer
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### 请求
|
|
|
|
|
|
|
|
__请求参数__
|
|
|
|
|
|
|
|
| 参数名 | 类型 | 必填 | 说明 |
|
|
|
|
| :-- | :-- | :-- | :-- |
|
|
|
|
| profile | String | 是 | 厂区|
|
|
|
|
| code | String | 是 | 客户编码|
|
|
|
|
| name | String | 是 | 客户名称|
|
|
|
|
| country | String | 否 | 国家|
|
|
|
|
| region | String | 否 | 省市|
|
|
|
|
| status | int | 是 | 状态 1:启用 0:不启用|
|
|
|
|
|
|
|
|
__请求示例:__
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"data":{
|
|
|
|
"profile":"测试",
|
|
|
|
"code":"wnC1",
|
|
|
|
"name":"屋漏",
|
|
|
|
"country":"china",
|
|
|
|
"region":"shanghai",
|
|
|
|
"status":0,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
````
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### 响应
|
|
|
|
__响应字段__
|
|
|
|
| 字段 | 类型 | 说明 |
|
|
|
|
| :-- | :-- | :-- |
|
|
|
|
| clock | string | 当前服务器时钟。 |
|
|
|
|
| status | string | 状态,ok:成功,error:错误,exception:异常 |
|
|
|
|
| data | object | 成功后返回具体内容 |
|
|
|
|
|
|
|
|
__data:__
|
|
|
|
| 字段 | 类型 | 说明 |
|
|
|
|
| :-- | :-- | :-- |
|
|
|
|
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"clock": "2023-06-25 20:00:00.000",
|
|
|
|
"status": "ok",
|
|
|
|
"data": {
|
|
|
|
"oa_id": "",
|
|
|
|
"code": "wnC1",
|
|
|
|
"name": "屋漏",
|
|
|
|
"status": "0",
|
|
|
|
"country": "china",
|
|
|
|
"region": "shanghai",
|
|
|
|
"interior": 0,
|
|
|
|
"created": "2023-12-06 09:12:43.230",
|
|
|
|
"updated": "2023-12-06 09:16:52.252",
|
|
|
|
"key": "45960622d4a54c69b2e26a840056ff48",
|
|
|
|
"flag": 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|