I am making updates to Marketo Custom Objects via the rest API, and would also like make an update to the Lead that is linked to the custom object.
I know I can get the lead by filtering on the email address, but in the case that there are duplicate leads (same email address) I would need a way to differentiate which lead is linked to the custom object.
I was hoping there would be a simple way to get the Lead ID of the linked Custom Object, but I have not been able to find any based on the documentation and tests using the samples provided.
Is there a simple way of getting the Lead ID of lead linked on to the custom object?
Solved! Go to Solution.
Ok mirroring the lead field on the custom object should work for us since we are creating them in a webservice that gets requests from a marketo webhook, so I can pass the Lead ID there when the custom object is first being created.
Thanks for the suggestion.