- Development guideline
- Authentication
- Leads
- Contents
- Events
- Table Structure
- Behaviors-NEW
- Others
Leads Edit
POST
/leads/open-api/edit-leads
客户数据平台(CDP)/线索Leads/线索
Request
Query Params
access_token
string
required
Example:
{{access_token}}
Body Params application/json
MobilePhone
string
手机号
FullName
string
姓名
Company
string
公司
Email
string
邮件
is_add
string
是否新增
anonymous_id
string
匿名id
Example
{
"MobilePhone": "188040471059",
"FullName": "aaa",
"Company": "张三",
"Street": "",
"LeadOwner": "",
"IsLead": "",
"Email": "",
"anonymous_id": "6ac241aaa0d6a666a091557a78826dd7",
"user_id":"{{user_id}}"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://openapi.beschannels.com/leads/open-api/edit-leads?access_token=uURA1lnYsBr22I6UYoLZH0s9y3HU2Xsn7UHA4dIDgHPYHwZqTpWJr_GwfBokKNQZfF7rWgukJmjo_Jg9cNfN_4VO2lJpkhHOoOS9RA_MVi-x4nyJolWKNq3l8KhslWxk' \
--header 'Content-Type: application/json' \
--data-raw '{
"MobilePhone": "188040471059",
"FullName": "aaa",
"Company": "张三",
"Street": "",
"LeadOwner": "",
"IsLead": "",
"Email": "",
"anonymous_id": "6ac241aaa0d6a666a091557a78826dd7",
"user_id":"userf1ef25f6e1d77c2915fec65aa635acf9"
}'
Responses
🟢200Successful request
application/json
Body
code
integer
optional
Example:
0
msg
string
optional
Example:
ok
Example
{
"code": 0,
"msg": "ok"
}
Modified at 2023-06-08 09:23:22