I got introduced to Salesforce just recently and needed to work with their API on a web lead form. I'm a PHP developer, so I'm using PHP toolkit (SOAP API) - some code samples here.
I'm stuck with trying to find a way to bypass the duplicate alert during lead creation. The alert prevents me from creating the record. Turning off the alert is not a feasible option as we still want users inside Salesforce to be "alerted" when they attempt to create a record that the CRM thinks already exists.
I've heard about the DuplicateRuleHeader
, but I don't see any documentation on how to use this option using the PHP toolkit. How do we bypass a duplicate alert using this toolkit?