This topic contains 3 replies, has 2 voices. Last updated by  Jason (Lead Developer) 3 years, 11 months ago.
| Topic Author | Topic | 
|---|---|
| Posted: Saturday Jan 12th, 2013 at 8:05 am #37122 | |
| I ran into this again with my loosely-coupled Infusionsoft integration, so I’m voicing it again! I would dearly LOVE to have the “create_user” API call act as “update_user” if called with a “user_login” that already exists. If I declare that “user_login” is unique (and indeed, S2 API throws an error if you try to create a new user with an existing login), then it seems that the behavior can be somewhat easily modified to just change whatever other fields are present in the API call. I know, I know – “easily” is all relative, regression testing, etc. So maybe declare a new API “create_user_ex” to maintain the integrity of the existing call? Again, this would relieve hours of headache for me. Right now I have to first verify users in the WP Users list before issuing the API call via an HTTP POST from Infusionsoft, and a lot of other manual gymnastics. And I will bet that other S2 users would find it very useful as well. Please, or pretty please can I have a single API call that both creates or updates a user?? :) Thanks! 
 | |








 Pre-Sale FAQs
Pre-Sale FAQs Video Tutorials
Video Tutorials Community Forum
Community Forum Knowledge Base
Knowledge Base News/Updates
News/Updates s2 Codex / Docs
s2 Codex / Docs GPL v2 License
GPL v2 License Contact A Human
Contact A Human About Us
About Us Our Customers
Our Customers Support Policy
Support Policy Privacy Policy
Privacy Policy
 Old Forums (READ-ONLY): The
Old Forums (READ-ONLY): The 
