[仅限PaaS]{class="badge informative" title="仅适用于云项目(Adobe管理的PaaS基础架构)和内部部署项目上的Adobe Commerce 。"}
隐私请求
Adobe Experience Platform Privacy Service提供RESTful API和用户界面,帮助您管理客户数据请求。 借助Privacy Service,您可以提交从Adobe Experience Cloud应用程序访问和删除个人客户数据的请求,从而促进自动遵守法律和组织隐私法规。
有关Privacy Service以及如何创建和管理隐私请求的更多信息,请参阅Adobe Experience Platform文档:
管理个人数据隐私请求
您可以通过两种方式提交单个请求以从Commerce访问和删除使用者数据:
Privacy Service支持两种类型的请求:数据访问 和 数据删除。
数据访问
对于 访问请求,从UI中指定“Commerce (Personalization)”(或commerceMarketingData
作为API中的产品代码)。
数据删除
对于删除请求,Privacy Service出于营销目的删除存储在Commerce SaaS服务中的Commerce数据,这意味着数据主体的配置文件和订单不再发送到Adobe营销应用程序以用于营销活动和客户历程。 但是,Privacy Service不会删除Commerce应用程序中的数据,因为商家事务型需求可能需要这些数据。 商家负责Commerce应用程序中的任何数据删除/访问请求。 请参阅共享责任安全和运营模型以了解详情。
Commerce将通过向商家发送请求删除特定数据的数据主体的信息来通知他们有关删除请求的信息。
如何创建访问和删除请求
先决条件
要请求访问和删除Adobe Commerce的数据,您必须拥有:
- IMS组织ID
- 要对其执行操作的人员和相应命名空间的身份标识符。 有关Adobe Commerce和Experience Platform中身份命名空间的更多信息,请参阅身份命名空间概述。
GDPR请求/删除访问示例:
对于 访问请求,从UI中指定“Commerce (Personalization)”(或“commerceMarketingData”作为API中的产品代码)。
对于 删除请求,请确保启用“Commerce (Personalization)”复选框。 此外,如果客户配置文件和订单数据已从Commerce发送到Adobe Experience Platform,则必须向以下下游服务提交删除请求。
- 配置文件(产品代码:“profileService”)
- AEP Data Lake (产品代码:“AdobeCloudPlatform”)
- 标识(产品代码:“标识”)
要通过隐私API发送访问和删除请求,您必须对Privacy Service的权限进行身份验证和管理:
必需的标头
curl --location --request POST 'https://platform.adobe.io/data/core/privacy/jobs' \
--header 'Content-Type: application/json' \
--header 'x-api-key: {{CLIENT_ID}}' \
--header 'x-gw-ims-org-id: {{IMS_ORGID}}' \
--header 'Authorization: Bearer {{ACCESS_TOKEN}}' \
请求
{
"companyContexts": [
{
"namespace": "imsOrgID",
"value": "{{IMS_ORGID}}"
}
],
"users": [
{
"key": "sampleUserKey1",
"action": ["access"],
"userIDs": [
{
"namespace": "email",
"value": "dsmith@sample.com",
"type": "standard"
}
]
},
{
"key": "sampleUserKey2",
"action": ["access","delete"],
"userIDs": [
{
"namespace": "email",
"value": "ajones@sample.com",
"type": "standard"
}
]
}
],
"include": ["commerceMarketingData"],
"expandIds": false,
"priority": "normal",
"regulation": "gdpr"
}
响应
{
"requestId": "17284033173196154RX-223",
"totalRecords": 3,
"jobs": [
{
"jobId": "a52ca032-858e-11ef-bbb4-27391388a0a6",
"customer": {
"user": {
"key": "sampleUserKey1",
"action": [
"access"
],
"userIDs": [
{
"namespace": "email",
"value": "dsmith@sample.com",
"type": "standard",
"namespaceId": 6,
"isDeletedClientSide": false
}
]
}
}
},
{
"jobId": "a52ca034-858e-11ef-bbb4-d5d952d69769",
"customer": {
"user": {
"key": "sampleUserKey2",
"action": [
"delete"
],
"userIDs": [
{
"namespace": "email",
"value": "ajones@sample.com",
"type": "standard",
"namespaceId": 6,
"isDeletedClientSide": false
}
]
}
}
},
{
"jobId": "a52ca033-858e-11ef-bbb4-8361a5022341",
"customer": {
"user": {
"key": "sampleUserKey2",
"action": [
"access"
],
"userIDs": [
{
"namespace": "email",
"value": "ajones@sample.com",
"type": "standard",
"namespaceId": 6,
"isDeletedClientSide": false
}
]
}
}
}
]
}