-
Notifications
You must be signed in to change notification settings - Fork 9
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
Support for merge customers endpoint #255
Comments
Hi @voghDev, Thank you for your feature request for "merge customer's endpoints". We've added it to our backlog for consideration in future releases. We appreciate your feedback and suggestions. |
Hi! we've done our first successful merge requests. I'll post the Retrofit code we're using for calling the endpoint. I think it's ok posting it as any AI can generate a similar code snippet in seconds.
@Shahroz16 If you find something wrong on it, please let us know 🙏 we're guessing how the api works and apparently having concurrency issues between the sdk and our http layer |
Hey @voghDev, thank you for posting this, can you explain the concurrency issue? because that shouldn't happen as SDKs network layer is going to be different than your app network layer, and I believe you are adding this in your own apps network layer. |
Hi! |
I think it is because the |
Thanks for your help and support 🙌 We have fresh information that is helpful. It seems that when we |
Hey @voghDev, I don't think there is any endpoint for this, unfortunately, so not an elegant solution but maybe add a delay? when you call the That X seconds doesn't have to be a random value but X could be the according to your config of background queue plus some buffer? |
That's one of the solutions we thought about; Adding a delay. Another solution would be a retry logic that performs a maximum of N attempts. Once the maximum attempts have been reached, it won't try to merge anymore. We'll let you know what we finally do 🙂 Thank you so much for the information! |
Is your feature request related to a problem? Please describe.
Hello!
We're trying to merge duplicated users in our App.
According to the documentation you provide, this can be done via web management, or calling the
/api/v1/merge_customers
endpoint.I see there is no function to
merge
users in customer.io sdk for Android, nor iOS.Are you planning to include a function to merge two users in the sdk?
Thanks in advance!
Describe the solution you'd like
An idea to user as starting point could be
Android (
CustomerIO.kt
)iOS (
CustomerIO.swift
)Describe alternatives you've considered
Additional context
Having it in a newer version of the library would be awesome!
The text was updated successfully, but these errors were encountered: