I have been looking for an answer but cant find one so thought I would ask here.
I am currently using the Salesforce REST API.
I am able to: 1. Get Authentication Token 2. Create Lead 3. Update Lead - via ID retrieved after creation success.
To update the lead I am currently using: https://na10.salesforce.com/services/data/v37.0/sobjects/Lead/ID_OF_ENTRY
I am guessing I could use the following to update a contact? https://na10.salesforce.com/services/data/v37.0/sobjects/Contact/ID_OF_ENTRY
My problem now is that there might be cases where the LEAD might be converted to a Contact in our use case. If we then wanted to update the Entry via the API how can we determine if the Entry is now a LEAD or CONTACT? Or are we able to simple update using the ID alone?