-
Notifications
You must be signed in to change notification settings - Fork 5
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
Removal of get_or_create profile #57
Comments
Hi @wdifruscio We do have an upsert profile API that is a "create or update" with a single call, and returns the profile that was created/updated. (Docs)
Is this what you mean? This API should still be available |
I'd second that a get_or_create method would be helpful. I ended up implementing my own method which calls |
@nburt sorry for the delay in reply. would the |
Hi all, sorry - I've been meaning to reply here Yes I did implement this, but I found the entire migration to this new system to be pretty irritating, and the documentation to be sub-par. It is a considerable cost to run these services, if this was open source I would be more forgiving and probably would not be publicly whining I totally get why things were moved into the system that they are now - it is standardized and basically follows a known convention - which in theory is very nice - but documentation and path to upgrade could have been well thought out - the emails to upgrade were nice, but actual information was not great This change cost a considerable amount of hours, which really should have been done within an afternoon, as the original implementation was, so I am bit dissapointed in everything. I use this sdk with several companies and had to painfully line by line the new arduous implemention with multiple developers who were equally annoyed and confused |
@sanfordj our use case has been that we're trying to find or create a profile prior to sending events for them (viewed product, started checkout, placed order) so that we can send the profile ID along with the event. I suppose we could do a create_or_update with empty values but we aren't actually updating the profile so I think that a find or create API would be more appropriate. |
is it possible for you guys to implement this back in?
one of the reasons I use klaviyo is so that I don't have to manage and track who is subscribed to what - with the new changes I now have to either run multiple calls to find out who a user is and what they are subscribed to, rather than just sending an email to an endpoint
also - to be clear, without this get_or_create profile - for me to add someone to a list I need to:
The text was updated successfully, but these errors were encountered: