-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged PR 53524: Ensure CartInsight collection is created at dummy da…
…ta push ## What's being changed The dummy records data upload for cart insight. ## Why it's being changed This process happens whenever account credentials are saved, and is designed to ensure that any connected Dotdigital account can use the abandoned cart block immediately after connection. We [migrated to V3 to send this data recently](914d39d), but overlooked that the PUT `/insightData/v3/contacts/{identifier}/{value}/{collectionName}/{recordId}` method to add contact insight data to a named collection won't actually create the collection if it doesn't exist already. For this we need the PUT `/insightData/v3/import`. Note we have intentionally reverted some of the changes made previously because `/insightData/v3/import` takes a different schema. ## How to review / test this change - In your connected DD account, delete the CartInsight collection (you might want to do this on a nightly env because it can involve deleting a lot of connected pieces in DD) - Go to Dotdigital > Accounts and save your credentials (any scope is fine) - Confirm that a new contact insight data collection 'CartInsight' is added with 1 record - Check the data via the contact you added it to Related work items: #250410
- Loading branch information
Showing
2 changed files
with
50 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters