1. Customer Tags 客户标签
EventLightning CDP
  • Content tags 内容标签
    • List or get content tags / 查询内容标签
      GET
    • Create or reuse content tag / 创建或复用内容标签
      POST
    • Update content tag / 更新内容标签
      PUT
    • Delete content tag / 删除内容标签
      DELETE
    • List or get content tag groups / 查询内容标签组
      GET
    • Create or reuse content tag group / 创建或复用内容标签组
      POST
  • Authentication 认证
    • Get access token / 获取访问令牌
      POST
  • Customers 客户
    • Collect customer and link visitor / 采集客户信息并关联访客
      POST
    • Get customer / 查询客户
      GET
    • Create or update customer / 创建或更新客户
      POST
  • Tags 标签
    • List or get tag groups / 查询标签组
      GET
    • Create or reuse tag group / 创建或复用标签组
      POST
    • List or get static tags / 查询静态标签
      GET
    • Create or reuse static tag / 创建或复用静态标签
      POST
    • Update static tag / 更新静态标签
      PUT
    • Delete static tag / 删除静态标签
      DELETE
  • Customer Tags 客户标签
    • Add customer tags / 添加客户标签
      POST
    • Remove customer tags / 移除客户标签
      POST
    • Query customer tags / 查询客户标签
      POST
  • Events 客户事件
    • 查询客户事件
      GET
    • Create customer event / 创建客户事件
      POST
  • Related Entities 关联实体
    • 查询关联实体
      GET
    • Create or update related entity / 创建或更新关联实体
      POST
  • Customer Segments 客户分群
    • Add customer segments / 添加客户群组
    • Remove customer segments / 移除客户群组
    • Query customer segments / 查询客户群组
  • Segments 分群
    • List or get segment groups / 查询客户分群组
    • Create or reuse segment group / 创建或复用客户分群组
    • List or get static segments / 查询静态分群
    • Create or reuse static segment / 创建或复用静态分群
    • Update static segment / 更新静态分群
    • Delete static segment / 删除静态分群
  • 数据模型
    • SegmentWrite
    • SegmentDetail
    • SegmentDetailResponse
    • SegmentListResponse
    • ContentTagDetail
    • ContentTagDetailResponse
    • ContentTagListResponse
    • OAuthToken
    • OAuthError
    • SuccessEnvelope
    • AudienceGroupDetail
    • TagDetail
    • TagMembershipDetail
    • SegmentMembershipDetail
    • CustomerEventResponse
    • CodeResponse
    • CustomerDetailResponse
    • Identification
    • CustomerSaveResponse
    • DynamicBody
    • TagWrite
    • CustomerSelectors
    • AudienceGroupDetailResponse
    • CustomerTagQuery
    • AudienceGroupListResponse
    • CustomerTagChange
    • TagDetailResponse
    • CustomerSegmentQuery
    • CustomerSegmentChange
    • TagListResponse
    • CustomerTagMembershipResponse
    • CustomerTagChangeResponse
    • CustomerSegmentMembershipResponse
    • CustomerSegmentChangeResponse
    • RelatedEntityResponse
    • ErrorEnvelope
  1. Customer Tags 客户标签

Query customer tags / 查询客户标签

POST
/api/v1/customer-tags/canonical
Query customer tag memberships / 查询客户标签关系。
Returns matching customer memberships. Explicit IDs can query dynamic audiences; omitted IDs select static memberships. / 返回命中客户的成员关系;显式 ID 可查询动态受众,省略 ID 只查静态关系。
Use customer_ids and/or customer_identifications; combined limit 20 per selector object. At least one customer must resolve. / 使用 customer_ids 和/或 customer_identifications,每个选择对象合计最多 20 项,至少解析到一个客户。
Request body is an object / 请求体为对象。
Bearer authentication and the existing REST permission are required. External IDs are not supported by these operations yet. / 需要 Bearer 认证及现有 REST 权限;当前尚未支持外部 ID。
{
  "customer_ids": [
    "{{customer_id}}"
  ],
  "tag_ids": [
    "{{tag_id}}"
  ]
}
Required operation permission: restful get el_cdp_api_customer_tags_resource. Read and write are independent even though all requests use POST. / 本操作权限:restful get el_cdp_api_customer_tags_resource。虽然请求均为 POST,但查询检查读权限,添加/移除检查写权限,写不隐含读。

请求参数

Body 参数application/json必填

示例
{
  "customer_ids": [
    "{{customer_id}}"
  ],
  "tag_ids": [
    "{{tag_id}}"
  ]
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
cURL
curl --location '/api/v1/customer-tags/canonical' \
--header 'Content-Type: application/json' \
--data '{
  "customer_ids": [
    "{{customer_id}}"
  ],
  "tag_ids": [
    "{{tag_id}}"
  ]
}'

返回响应

🟢200成功
application/json
Returns matching customer memberships. Explicit IDs can query dynamic audiences; omitted IDs select static memberships. / 返回命中客户的成员关系;显式 ID 可查询动态受众,省略 ID 只查静态关系。
Bodyapplication/json

示例
{
    "code": 200,
    "data": [
        {
            "customer_id": "string",
            "tags": [
                {
                    "tag_id": "string",
                    "label": "string",
                    "group_label": "string",
                    "group_id": "string",
                    "tag_type": "string",
                    "created": 0,
                    "changed": 0,
                    "status": true,
                    "value": "string",
                    "external_id": "string"
                }
            ]
        }
    ]
}
🟠400请求有误
🟠401没有权限
🟠403禁止访问
🔴500服务器错误
🟠429请求过多
修改于 2026-09-22 08:53:42
上一页
Remove customer tags / 移除客户标签
下一页
查询客户事件
Built with