How can I get a Custom Object's linked Lead's ID? | Community
Skip to main content
December 4, 2015
Solved

How can I get a Custom Object's linked Lead's ID?

  • December 4, 2015
  • 1 reply
  • 1739 views

Hi,

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by

Not positive but what would happen if you made a custom field that essentially mirrored the Lead ID.  Would that new field be visible in this new custom object?

1 reply

Accepted solution
December 4, 2015

Not positive but what would happen if you made a custom field that essentially mirrored the Lead ID.  Would that new field be visible in this new custom object?

December 4, 2015

If i were to add a link field on the Lead ID, would I have to populate that when creating the custom object?