- 独立部署版
- V1.0-(2022.8.18)
- v1.1-(2023.6.20)
- v1.2-(2023.10.20)
- v1.3-(2023.11.20)
- 低代码
- v1.4
- v1.5
- v1.6
- v1.8
- v1.9
- v2.0
修改客户接口
开发中
PUT
/open/customer/{id}
责任人:未设置
请求参数
Path 参数
id
string
必需
Header 参数
Authorization
string
必需
默认值:
Bearer {{ENT_TOKEN}}
X-Requested-With
string
必需
默认值:
XMLHttpRequest
Body 参数application/json
customer_name
string
必需
customer_label
array[integer]
必需
customer_way
string
必需
b37a3f16
string
必需
area_cascade
array[string]
必需
9bfe77e4
string
必需
customer_followed
string
必需
types
integer
必需
force
integer
必需
uid
integer
必需
示例
{
"customer_name": "string",
"customer_label": [
0
],
"customer_way": "string",
"b37a3f16": "string",
"area_cascade": [
"string"
],
"9bfe77e4": "string",
"customer_followed": "string",
"types": 0,
"force": 0,
"uid": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT '/open/customer/' \
--header 'Authorization;' \
--header 'X-Requested-With;' \
--header 'Content-Type: application/json' \
--data-raw '{
"customer_name": "string",
"customer_label": [
0
],
"customer_way": "string",
"b37a3f16": "string",
"area_cascade": [
"string"
],
"9bfe77e4": "string",
"customer_followed": "string",
"types": 0,
"force": 0,
"uid": 0
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
🟠404记录不存在(示例)
🟢200修改成功(示例)
🟠401参数不正确(示例)
🟢201新建成功(示例)