jing-openplatform-api
  1. 用户管理(User Management)
jing-openplatform-api
  • 开放接口-V1文档
    • 开发前必读(Must Read Before Development)
      • 接口更新日志
      • 接入指南(Access Guide)
      • 接口权限(Interface Permissions)
      • 访问频率和并发限制(Access Frequency & Concurrency Restrictions)
      • 全局错误码说明(Global Error Code Description)
    • OAuth授权(Authorization)
      • 获取访问Token(Get Access Token)
      • 刷新 Token(Refresh Token)
    • 用户管理(User Management)
      • 用户批量创建(User Creation)
        POST
      • 用户查询(User Query)
        POST
      • 用户批量更新(User Update)
        POST
      • 批量查询用户身份
        POST
    • 用户群组
      • 查询静态人群列表
      • 获取静态人群详情
      • 查询静态人群详情用户列表
      • 创建静态人群
      • 更新静态人群
      • 删除静态人群
      • 导入群组用户
    • 用户标签(User Tags)
      • 批量创建普通标签(Batch Creating Tags)
      • 批量给用户打标签(Batch Tagging Users)
      • 查询普通标签
      • 移除用户标签
    • 活动管理
      • 查询活动详情
      • 查询活动列表
      • 查询活动报名用户列表
      • 批量更新活动用户状态
    • 邮件管理
      • 查询邮箱列表
      • 创建发送邮件
      • 查询发送邮件详情
      • 更新发送邮件
      • 删除发送邮件
      • 查询发送邮件列表
      • 查询发送明细
    • 短信管理
      • 查询短信列表
      • 查询短信发送详情
      • 创建任务
      • 发送
    • 来源管理
      • 查询来源选项
      • 创建自定义来源选项
      • 更新自定义来源选项
      • 查询来源下所有选项
    • 二维码管理
      • 创建临时二维码
      • 创建永久二维码
    • 会员管理
      • 会员创建
      • 会员查询
      • 会员更新
      • 查询会员剩余积分
      • 查询会员规则列表
      • 查询会员列表
      • 扣减会员积分
      • 增加会员积分
    • 成员管理
      • 查询成员信息(Query Member Information)
    • 微信公众号
      • 发送微信模版消息
      • 获取用户的openid和关注状态
    • 线索管理(Lead Management)
      • 线索创建(Lead Creation)
      • 线索更新(Lead Update)
      • 线索查询(Lead Query)
      • 线索状态列表查询(Get Lead Status List)
      • 线索状态更新(Get Status Update)
      • 线索布局列表查询(Lead List)
      • 更新线索协作人(Update Lead Collaborators)
      • 查询线索详情链接(Query Lead Details Link)
    • 客户管理(Account Management)
      • 客户创建(Account Creation)
      • 客户查询(Account Query)
      • 客户更新(Account Update)
      • 客户布局列表查询(Account List)
    • CRM 对象通用接口(CRM Object Interface)
      • 查询业务类型列表(Get Business Type)
      • 查询选项集字段(Get Option Set Fields)
      • 查询来源选项字段(获取下拉选项)(Source Field Type (Get Drop-down Options))
      • 查询自定义选项字段(Get Custom Option Set Fields)
      • 查询对象所有字段(Get All Fields of the Object)
    • CTA管理
      • 查询CTA列表
      • 查询CTA明细列表
    • 模板消息
      • 创建模版消息
      • 创建模板消息推送
      • 更新模板消息
      • 查询模版消息详情
      • 删除模版消息
      • 查询模板消息列表
      • 查询微信模板列表
      • 查询消息模板推送明细
      • 查询消息模板点击明细
      • 查询模板消息推送记录列表
    • 隐私条款v1(Privacy Policy)
      • 查询隐私条款列表(Query Privacy Policy List)
      • 查询隐私条款授权记录列表(Query Privacy Policy Authorization Record List)
    • 隐私条款v2
      • 查询隐私条款列表
      • 新增用户授权记录
      • 查询用户授权状态
      • 移除用户授权记录
      • 查询隐私条款模版
    • 企业微信
      • 发送企微应用消息(Send WeCom App Message)
      • 获取用户的企微好友状态(Get User's WeCom Friendship Status )
    • 评分管理
      • 批量查询用户意向评分
      • 批量查询用户行为评分
      • 批量查询线索身份评分
      • 批量查询线索行为评分
      • 批量查询线索意向评分
      • 批量查询用户身份评分
      • 批量用户行为评分清零
    • 自定义事件
      • 创建自定义事件
      • 上报自定义事件
    • 公司管理
      • 批量创建公司
      • 批量更新公司
      • 批量删除公司
      • 批量获取公司列表
  • webhook
    • 用户(User)
      • 用户创建(User Creation)
      • 创建用户webhook推送事件(Create Push Events of User webhook)
        • add_omni_user_success事件(add_omni_user_success event)
      • 修改用户webhook推送事件
        • custom_field事件(修改用户信息)
    • 活动
      • 创建活动
        • 活动webhook-直播
        • 活动webhook-会议
      • 更新活动
        • 更改直播活动webhook
        • 更改会议活动webhook
      • 删除活动
        • 删除直播活动webhook
        • 删除会议活动webhook
    • 线索(Lead)
      • 线索事件说明文档(Description Document of Lead Event)
      • 创建线索webhook推送事件(Create Push Events of User webhook)
        • add_omni_user_success事件(add_omni_user_success event)
        • object_create事件(object_create event)
        • object_update_life_cycle事件(object_update_life_cycle event)
        • object_source_info事件(object_source_info event)
      • 线索更新(Lead Update)
        • object_update_life_cycle事件(object_update_life_cycle event)
        • object_update事件(object_update event)
      • 线索状态更新(Lead Update Status)
        • object_update_status事件(object_update_status event)
      • 线索作废(Lead Voided)
        • object_voids事件(object_voids event)
      • 线索负责人变更(Lead Owner Change)
        • object_change_owner事件(不包含线索信息)(object_change_owner event (without lead information))
        • object_change_owner事件(包含线索信息,需要平台人员手动配置启用)
      • 线索生命周期变更(Lead Lifecycle Change)
        • object_update_life_cycle事件(object_update_life_cycle event)
      • 线索添加备注(Lead Add Notes)
        • object_add_notes事件(object_add_notes event)
      • 线索添加协作人(Lead Add Collaborator)
        • object_add_team_member事件(object_add_team_member event)
      • 线索移除协作人(Lead Remove Collaborator)
        • object_remove_team_member事件(object_remove_team_member event)
      • 公海池变更(Lead Pool Change)
        • object_change_lead_pool事件(object_change_lead_pool event)
      • 线索关联(Lead Association)
        • object_relation事件(object_relation event)
      • 线索恢复(Lead Restore)
        • object_restore事件(object_restore event)
      • 线索来源 (Lead Source)
        • 线索来源(Lead Source)
    • 客户(Account)
      • 客户(Account)
      • 客户webhook推送(Account webhook Push)
        • 创建客户(Create Account)
          • object_create事件-客户(object_create event-Account)
        • 更新客户(Update Account)
          • object_update事件-客户(object_update event-Account)
        • 客户负责人变更(Object_Change_Owner)
          • object_change_owner事件-客户(object_change_owner event-Account)
        • 客户作废(object_voids)
          • object_voids事件-客户(object_voids event-Account)
        • 客户关联线索(object_relation)
          • object_relation事件-客户(object_relation event-Account)
    • 模板消息(Template Message)
      • 点击模板消息
      • 模板消息推送成功(Template Send Success)
      • 模板消息推送失败(Template Send Error)
      • 模板消息推送通知(Template Message Push Notification)
        • template_send事件(template_send event)
    • Jingtrack
      • JINGtrack-H5
        • 访问页面(pageView)
        • 自定义事件(customEvent)
      • JINGtrack-小程序
        • 访问页面 (小程序)(View Page)
          • pages/store/detail/detail事件(pages/store/detail/detail event)
        • 小程序自定义事件(tracking_customevent)
          • RemoveFromCart事件(RemoveFromCart Event)
        • 打开小程序(Open Mini Program)
          • tracking_vst事件(tracking_vst event)
        • 关闭小程序(Close Mini Program)
          • tracking_cls事件(tracking_cls event)
    • 评分(Scoring)
      • 身份等级变更(Identity Grade Updated)
        • 身份等级变更事件(custom_field_update event)
      • 行为等级变更(Active Level Update)
        • 行为等级变更事件(total_update event)
    • 用户行为(User Action)
      • 活动用户行为
        • 提交活动报名信息
      • CTA用户行为
        • CTA提交信息
      • 用户标签行为
        • 用户打标签
      • 授权隐私条款行为
        • 授权隐私条款(Authorized Privacy Policy)
    • 系统行为(System Action)
      • 活动系统行为
        • 活动报名用户状态变更(Change Activity Registered User Status)
  1. 用户管理(User Management)

用户批量更新(User Update)

live-阿里云(Alibaba Cloud)
https://jingopenapi.jingsocial.com
live-阿里云(Alibaba Cloud)
https://jingopenapi.jingsocial.com
POST
https://jingopenapi.jingsocial.com
/v1/user/update

目前更新接口和创建接口为同一个,v2版本会区分开#

接口描述:多身份字段批量用户创建/更新API
接口调用限制为:
每10秒500次;每天200000次
该接口单次用户数量上限为100个,Custom Field数量为50个
单次批量调用只能使用同一种身份标识
单次批量调用不能有重复的用户,需分次调用

Currently, the update interface and creation interface are the same, and the in v2 version they will be distinguished#

Interface Description: Multi-identity fields batch user creation/update API
Interface calls are limited to:
500 times every 10 seconds; 200,000 times per day
The maximum number of single users for this interface is 100, and the number of Custom Fields is 50
A single batch call can only use the same identifier
Single batch call can not have duplicate users, need to be called in batches

请求参数

Header 参数
app_id
string 
应用id
必需
默认值:
{{app_id}}
access_token
string 
应用密钥
必需
默认值:
{{access_token}}
Body 参数application/json
array of:
identities
array [object {4}] 
必需
type
string 
必需
必传,身份字段类型,可传身份字段类型 如:wechat_openid\wechat_unionid\mobile\email、omni_user_uuid\第三方固定为thirdparty_channel
(English)Required, identity field type, can assign identity field type such as wechat_openid\wechat_unionid\mobile\email, omni_user_uuid\third party fixed as thirdparty_channel
value
string 
必需
必传,身份字段类型对应的值
(English)Required,The value corresponding to the identity field type
name
string 
可选
非必传,身份字段类型对应的label名
(English)Not required. The label name corresponding to the identity field type
channel_uuid
string 
可选
渠道uuid, type为thirdparty_channel时必填
(English)Channel uuid, required when type is thirdparty_channel
fields
object 
可选
非必传,用于更新用户自定义字段
(English)Not required, used to update user custom fields
fieldcode1
string 
可选
自定义字段code, 如 “industry”
(Eglish)Custom field code, such as "industry"
fieldcode2
string 
可选
leads_info
object 
可选
非必传,用于更新leads信息
(English)Not required, used to update leads information
stage_name
string 
可选
assign_sale_uuid
string 
可选
leads_updated_timestamp
string 
可选
leads_remark
integer 
可选
source_data
object 
来源字段
可选
source_type
string 
最新来源类型
可选
source_name
string 
最新来源名称
可选
source_custom_param
string 
最新自定义来源参数
可选
website_name
string 
最新微站名称
可选
website_page_name
string 
最新微站页面名称
可选
param_1
string 
最新推广参数_1
可选
param_2
string 
最新推广参数_2
可选
param_3
string 
最新推广参数_3
可选
param_4
string 
最新推广参数_4
可选
param_5
string 
最新推广参数_5
可选
utm_source
string 
最新投放来源
可选
utm_medium
string 
最新投放渠道
可选
utm_terms
string 
最新投放关键词
可选
utm_campaign
string 
最新投放活动
可选
utm_content
string 
最新投放内容
可选
fields_source
object 
可选
非必传,用户指定用户自定义字段的来源
source_type
enum<string> 
可选
固定值 : thirdparty_custom_source
枚举值:
thirdparty_custom_source
source_value
string 
第三方自定义
必需
示例
[ 

    { 

        "identities":[ 

            { 

                "type":"mobile", 

                "value":"15556348978", 

                "name":"手机号" 

            }, 

            { 

                "type":"email", 

                "value":"11223323@qq.com", 

                "name":"邮箱" 

            }, 

            { 

                "type":"wechat_openid", 

                "value":"oYGod1Sluj6AQDuQiwygTXJWQOdE", 

                "name":"微信公众号openid" 

            }, 

            { 

                "type":"wechat_unionid", 

                "value":"oLulZwTX2MQGmp9ZNvC6l7eo3BaU", 

                "name":"微信开放平台unionid" 

            }, 

            { 

                "type":"thirdparty_channel", 

                "value":"oLulZwTX2MQGmp9ZNvC6l7eo3BaU", 

                "channel_uuid":"原始渠道id" 

            }, 

            { 

                "type": "omni_user_uuid", 

                "value": " S9Cp23Np2gLQfSKtS7rpXd " 

            } 

        ], 

        "fields":{ 

            "fieldcode1":"value1", 

            "fieldcode2":"value2" 

        }, 

        "leads_info":{ 

            "stage_name":"已会面", 

            "assign_sale_uuid":"00be5680-8384-44d0-97e9-7ec08452831f", 

            "leads_updated_timestamp":"2022-03-0714:19:48", 

            "leads_remark":23 

        } 

    } 

] 

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://jingopenapi.jingsocial.com/v1/user/update' \
--header 'app_id;' \
--header 'access_token;' \
--header 'Content-Type: application/json' \
--data-raw '[ 

    { 

        "identities":[ 

            { 

                "type":"mobile", 

                "value":"15556348978", 

                "name":"手机号" 

            }, 

            { 

                "type":"email", 

                "value":"11223323@qq.com", 

                "name":"邮箱" 

            }, 

            { 

                "type":"wechat_openid", 

                "value":"oYGod1Sluj6AQDuQiwygTXJWQOdE", 

                "name":"微信公众号openid" 

            }, 

            { 

                "type":"wechat_unionid", 

                "value":"oLulZwTX2MQGmp9ZNvC6l7eo3BaU", 

                "name":"微信开放平台unionid" 

            }, 

            { 

                "type":"thirdparty_channel", 

                "value":"oLulZwTX2MQGmp9ZNvC6l7eo3BaU", 

                "channel_uuid":"原始渠道id" 

            }, 

            { 

                "type": "omni_user_uuid", 

                "value": " S9Cp23Np2gLQfSKtS7rpXd " 

            } 

        ], 

        "fields":{ 

            "fieldcode1":"value1", 

            "fieldcode2":"value2" 

        }, 

        "leads_info":{ 

            "stage_name":"已会面", 

            "assign_sale_uuid":"00be5680-8384-44d0-97e9-7ec08452831f", 

            "leads_updated_timestamp":"2022-03-0714:19:48", 

            "leads_remark":23 

        } 

    } 

]'

返回响应

🟢200成功
application/json
Body
code
string 
必需
data
object 
必需
success
array [object {3}] 
必需
failure
array[string]
必需
msg
string 
必需
request_id
string 
必需
示例
{
    "request_id": "0cebb5c1dcfc4a13814bb28184d2c39b",
    "code": "10000",
    "msg": "success",
    "data": {
        "success": [
            {
                "leads_info": {
                    "stage_name": "已会面"
                },
                "identities": [
                    {
                        "name": "手机号",
                        "type": "mobile",
                        "value": "15112654318"
                    }
                ]
            }
        ],
        "failure": []
    }
}
🟢200失败
上一页
用户查询(User Query)
下一页
批量查询用户身份
Built with