1

I want to upsert Leads with the following rules:

  1. Match by Email
  2. If match is found, only update fields that are blank.

Is it possible to do this by using API upsert?

Is it possible to do it with Restforce?

If not, how to update only blank fields?

Apparently there is no tag for Restforce: https://github.com/restforce/restforce

1

Is it possible to do this by using API upsert?

No. Any changes you submit will alter the existing record, if any.

If match is found, only update fields that are blank.

Again, see above.

If not, how to update only blank fields?

You would still need to query the record(s) and update accordingly. Or use a custom rest service. Either way, anything you submit will result in updates to an existing record if one is found.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.