Bes_Open_API_English
  1. Leads
Bes_Open_API_English
  • Development guideline
    • BesChannels Product Overview
    • Log Update
  • Authentication
    • openapi-Get token
      POST
  • Leads
    • Get Leads List
      POST
    • Get Leads Details
      POST
    • Leads Create/Add
      POST
    • Leads Edit
      POST
    • Leads Delete
      POST
    • Get List of Remark
      POST
    • Add Remarks
      GET
    • Leads Assignment
      POST
    • Get Leads Activities & Attributes
      POST
    • Get Leads Behaviors
      POST
  • Contents
    • Get Content List
      POST
  • Events
    • Get Events List
      POST
  • Table Structure
    • Application acquiry
      POST
    • Table Structure List
      POST
    • Table Structure Details
      POST
  • Behaviors-NEW
    • Add Application
      POST
    • Add Activities
      GET
    • Get Activities
      POST
    • Get Activities Attributes
      POST
    • Add Activities Attributes
      POST
    • Add Users Behaviors
      POST
  • Others
    • Error code
  1. Leads

Leads Edit

POST
/leads/open-api/edit-leads
客户数据平台(CDP)/线索Leads/线索
To edit leads informartion

Request

Query Params
access_token
string 
required
Example:
{{access_token}}
Body Params application/json
MobilePhone
string 
手机号
optional
must select mobilephone or email
FullName
string 
姓名
optional
name
Company
string 
公司
optional
company
Email
string 
邮件
optional
email
is_add
string 
是否新增
optional
0=Add/Edit, 1=Edit ,2=Add
anonymous_id
string 
匿名id
optional
anonymous_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
0=success,others failed
Example:
0
msg
string 
optional
 status code description 
Example:
ok
Example
{
    "code": 0,
    "msg": "ok"
}
Modified at 2023-06-08 09:23:22
Previous
Leads Create/Add
Next
Leads Delete
Built with