One API endpoint for Lead/Deal creation with Person + Organization

Prokop Simek_26971
Member Posts: 5



Hi, we're using Pipedrive API to create Leads and Deals. From our point of view is very difficult to create a Lead or Deal with all necessary information. Our case is to create a Lead/Deal with all necessary information about the Person or Organization.
The proposal is to create only 1 endpoint that aggregates the setup of all necessary attributes and relations for a Lead/Deal.
The current API implementation of your APIs:
- Check if Organization already exists
- No => Create organization
- Yes => Update organization with new/additional info
- (org. now exists)
- Check if a Person with a specific email already exists
- No => Create the Person
- Yes => Update the person with new/additional info (name, phone number etc.)
- (person now exists)
- Create a Lead/Deal
It's necessary to call 7 API endpoints. 🤯
Proposal for new API endpoint:
- Create Lead/Deal API with all necessary attributes (nested Person attributes and nested Org. attributes)
- The API itself does the logic described in the current necessary API integration.
And now I am happy! 🎉😍 I had to call just one API endpoint and it does everything I need.
0
Comments
-
Avi H said:
Hi,
I have the exact same issue.
Did you get a response to your question?
No answer there.
0