AnsweredAssumed Answered

Create or update contacts from API

Question asked by dorin.simina on Apr 21, 2015
Latest reply on Apr 22, 2015 by paperless
Hi all,

Is there a way using the API to update a Lead if already exists or create the Lead if does not exist based on a certain field (e.g. email address)?

At least for updating a Lead I've tried using https://[BASE_URL]:443/rest/v10/Leads 

... by PUT {"first_name" : "XXX new", "last_name" : "XXX", "email1" : ""}

... and I get {"error":"no_method","error_message":"Could not find a route with 1 elements"}