function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
PauloPaulo 

Stop duplicate leads with API

I have a lead generation form that creates leads in salesforce and need to find a way to stop duplicate leads from getting created. If a lead is already created I want to update the record instead and if there are already multiple leads in SF how can I update just one record.
jhenningjhenning
My guess is that Salesforce is using a search() SOSL query instead of SOQL. Have you tried that?