Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for MergedToContactID. #900

Merged

Conversation

JackGreen411
Copy link
Contributor

The Scenario

Whenever a contact has been merged into another, we received a webhook event of an archived contact, but no additional information. We then had to perform a GET request by its 'resourceId' to get the contact.

The 'Before the addition of MergedToContactID:' screenshot below, show the payload we received when we made the GET request, but no 'MergedToContactID' was present.

The important aspect of this PR, is ensuring we received the 'MergedToContactID' value, allowing us to update our contact data with the newly updated ContactID.

Before the addition of MergedToContactID:

image

After the addition of MergedToContactID:

image

@elliotlings
Copy link

Bump. It would be good if MergedToContactID was returned with a Contact which it currently isn't.

@calcinai calcinai merged commit d7e2524 into calcinai:master Sep 25, 2023
@calcinai
Copy link
Owner

LGTM, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants