From 275f30c04025747d56c179714037904d889e42b8 Mon Sep 17 00:00:00 2001 From: Hanxiong Shi Date: Fri, 10 Mar 2023 22:18:55 -0500 Subject: [PATCH 1/4] feat: updated docs for users/merge and users/identify endpoints --- .../_api/endpoints/user_data/post_user_identify.md | 14 +++++++++++++- _docs/_api/endpoints/user_data/post_users_merge.md | 14 +++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/_docs/_api/endpoints/user_data/post_user_identify.md b/_docs/_api/endpoints/user_data/post_user_identify.md index 683f96efde9..740bb01f9b1 100644 --- a/_docs/_api/endpoints/user_data/post_user_identify.md +++ b/_docs/_api/endpoints/user_data/post_user_identify.md @@ -74,8 +74,20 @@ Setting the `merge_behavior` field to `merge` sets the endpoint to merge any of - Date of first session (Braze will pick the earlier date of the two dates) - Date of last session (Braze will pick the later date of the two dates) - Custom attributes -- Custom event and purchase event data (excluding event properties, count, and first date and last date timestamps) +- Custom event and purchase event data (excluding event properties) - Custom event and purchase event properties for "X times in Y days" segmentation (where X<=50 and Y<=30) +- Segmentable custom events summary + - event count (the sum from both profiles) + - event first occurred (Braze will pick the earlier date of the two dates) + - event last occurred (Braze will pick the later date of the two dates) +- In app purchase total in cents (the sum from both profiles) +- Total number of purchases (the sum from both profiles) +- Date of first purchase (Braze will pick the earlier date of the two dates) +- Date of last purchase (Braze will pick the later date of the two dates) +- App summaries +- Last_X_at fields (Braze will update the fields if the orphaned profile fields are more recent) +- Campaign summaries (Braze will pick the most recent date fields) +- Workflow summaries (Braze will pick the most recent date fields) Any of the following fields found on the anonymous user to the identified user: - Custom event and purchase event count and first date and last date timestamps diff --git a/_docs/_api/endpoints/user_data/post_users_merge.md b/_docs/_api/endpoints/user_data/post_users_merge.md index 86446f99a75..b748dc8c8e9 100644 --- a/_docs/_api/endpoints/user_data/post_users_merge.md +++ b/_docs/_api/endpoints/user_data/post_users_merge.md @@ -62,8 +62,20 @@ This endpoint will merge any of the following fields found exclusively on the or - Date of first session (Braze will pick the earlier date of the two dates) - Date of last session (Braze will pick the later date of the two dates) - Custom attributes -- Custom event and purchase event data (excluding event properties, count, and first date and last date timestamps) +- Custom event and purchase event data (excluding event properties) - Custom event and purchase event properties for "X times in Y days" segmentation (where X<=50 and Y<=30) +- Segmentable custom events summary + - event count (the sum from both profiles) + - event first occurred (Braze will pick the earlier date of the two dates) + - event last occurred (Braze will pick the later date of the two dates) +- In app purchase total in cents (the sum from both profiles) +- Total number of purchases (the sum from both profiles) +- Date of first purchase (Braze will pick the earlier date of the two dates) +- Date of last purchase (Braze will pick the later date of the two dates) +- App summaries +- Last_X_at fields (Braze will update the fields if the orphaned profile fields are more recent) +- Campaign summaries (Braze will pick the most recent date fields) +- Workflow summaries (Braze will pick the most recent date fields) Any of the following fields found on one user to the other user: - Custom event and purchase event count and first date and last date timestamps From 8276a2a05716e7879d439c0658dee335aac3b0bf Mon Sep 17 00:00:00 2001 From: Lydia Xie <87040416+lydia-xie@users.noreply.github.com> Date: Mon, 13 Mar 2023 10:40:12 -0700 Subject: [PATCH 2/4] Update _docs/_api/endpoints/user_data/post_user_identify.md --- _docs/_api/endpoints/user_data/post_user_identify.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_docs/_api/endpoints/user_data/post_user_identify.md b/_docs/_api/endpoints/user_data/post_user_identify.md index 740bb01f9b1..b81ece78f1e 100644 --- a/_docs/_api/endpoints/user_data/post_user_identify.md +++ b/_docs/_api/endpoints/user_data/post_user_identify.md @@ -77,9 +77,9 @@ Setting the `merge_behavior` field to `merge` sets the endpoint to merge any of - Custom event and purchase event data (excluding event properties) - Custom event and purchase event properties for "X times in Y days" segmentation (where X<=50 and Y<=30) - Segmentable custom events summary - - event count (the sum from both profiles) - - event first occurred (Braze will pick the earlier date of the two dates) - - event last occurred (Braze will pick the later date of the two dates) + - Event count (the sum from both profiles) + - Event first occurred (Braze will pick the earlier date of the two dates) + - Event last occurred (Braze will pick the later date of the two dates) - In app purchase total in cents (the sum from both profiles) - Total number of purchases (the sum from both profiles) - Date of first purchase (Braze will pick the earlier date of the two dates) From 675259e36468c311d461bb742da0881adbe4269d Mon Sep 17 00:00:00 2001 From: Lydia Xie <87040416+lydia-xie@users.noreply.github.com> Date: Mon, 13 Mar 2023 10:40:18 -0700 Subject: [PATCH 3/4] Update _docs/_api/endpoints/user_data/post_user_identify.md --- _docs/_api/endpoints/user_data/post_user_identify.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_docs/_api/endpoints/user_data/post_user_identify.md b/_docs/_api/endpoints/user_data/post_user_identify.md index b81ece78f1e..aa2df66859e 100644 --- a/_docs/_api/endpoints/user_data/post_user_identify.md +++ b/_docs/_api/endpoints/user_data/post_user_identify.md @@ -80,7 +80,7 @@ Setting the `merge_behavior` field to `merge` sets the endpoint to merge any of - Event count (the sum from both profiles) - Event first occurred (Braze will pick the earlier date of the two dates) - Event last occurred (Braze will pick the later date of the two dates) -- In app purchase total in cents (the sum from both profiles) +- In-app purchase total in cents (the sum from both profiles) - Total number of purchases (the sum from both profiles) - Date of first purchase (Braze will pick the earlier date of the two dates) - Date of last purchase (Braze will pick the later date of the two dates) From 30236d980149e50979f86e1ef56c0bc203e0a3a2 Mon Sep 17 00:00:00 2001 From: Lydia Xie <87040416+lydia-xie@users.noreply.github.com> Date: Mon, 13 Mar 2023 10:40:23 -0700 Subject: [PATCH 4/4] Update _docs/_api/endpoints/user_data/post_users_merge.md --- _docs/_api/endpoints/user_data/post_users_merge.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_docs/_api/endpoints/user_data/post_users_merge.md b/_docs/_api/endpoints/user_data/post_users_merge.md index b748dc8c8e9..dda2d72daac 100644 --- a/_docs/_api/endpoints/user_data/post_users_merge.md +++ b/_docs/_api/endpoints/user_data/post_users_merge.md @@ -65,10 +65,10 @@ This endpoint will merge any of the following fields found exclusively on the or - Custom event and purchase event data (excluding event properties) - Custom event and purchase event properties for "X times in Y days" segmentation (where X<=50 and Y<=30) - Segmentable custom events summary - - event count (the sum from both profiles) - - event first occurred (Braze will pick the earlier date of the two dates) - - event last occurred (Braze will pick the later date of the two dates) -- In app purchase total in cents (the sum from both profiles) + - Event count (the sum from both profiles) + - Event first occurred (Braze will pick the earlier date of the two dates) + - Event last occurred (Braze will pick the later date of the two dates) +- In-app purchase total in cents (the sum from both profiles) - Total number of purchases (the sum from both profiles) - Date of first purchase (Braze will pick the earlier date of the two dates) - Date of last purchase (Braze will pick the later date of the two dates)