Forms API - Update by Lead ID | Community
Skip to main content
May 16, 2017
Question

Forms API - Update by Lead ID

  • May 16, 2017
  • 2 replies
  • 2513 views

Hi, I'm working on an unsubscribe form using the Forms 2.0 API, and was wondering if it is possible when saving to /index.php/leadCapture/save, to have that process search and update records based upon Lead ID instead of email address. We have experimented including Lead API as a field in the form, but it appears to have no effect.

Thanks

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

2 replies

SanfordWhiteman
Level 10
May 16, 2017

It's not possible -- one of many reasons that abiding by Marketo's default dedupe key (i.e. email address) is a good idea.

What's the specific case you're trying to resolve? When would someone be reaching your Marketo-hosted unsubscribe form without an email address or associated web session, but with their Lead ID?

May 16, 2017

We have multiple brands and our "real" dedupe is email + brand (we have ~15).  We had some challenges we with using email address as dedupe/natural key - we could have somebody change the email address in one brand and not another, and associating custom records was a chore.

You mentioned associated web session, could I get something like that to work? 

If we hosted our own unsubscribe/resubscribe pages, could we get lead ID passed in the URL, and call the REST API from our end to update the record?

May 16, 2017

Also, would implementing Workspaces solve this? (would Forms API differentiate between records with the same address but in different workspaces)?

SanfordWhiteman
Level 10
May 16, 2017

Also, would implementing Workspaces solve this? (would Forms API differentiate between records with the same address but in different workspaces)?

Workspaces + partitions could also solve the problem, yes. And this makes more sense than the lead ID, which as I've mentioned isn't likely to be available when a token isn't.