Leads
POST {{api-domain}}/crm/v3/Leads/upsert
To upsert records in the Leads module.
Request Body
{"data"=>[{"Company"=>"Zylker", "Email"=>"patricia.boyle2@zylker.com", "Industry"=>"ASP (Application Service Provider)", "No_of_Employees"=>100, "Annual_Revenue"=>10000, "Twitter"=>"patricia", "Website"=>"https://www.patriciaboyle.com", "Salutation"=>"Ms.", "First_Name"=>"Patricia", "Lead_Status"=>"Contacted", "$review"=>nil, "Email_Opt_Out"=>true, "Mobile"=>"89898989893", "Last_Name"=>"Boyle", "Layout"=>{"name"=>"Standard", "id"=>"{{layout_id}}"}, "Lead_Source"=>"Employee Referral"}]}
RESPONSES
status: OK
{"data":[{"code":"SUCCESS","duplicate_field":"Email","action":"update","details":{"Modified_Time":"2022-05-17T19:31:21+05:30","Modified_By":{"name":"Patricia Boyle","id":"4876876000000327001"},"Created_Time":"2022-05-09T19:48:10+05:30","id":"4876876000001081542","Created_By":{"name":"Patricia Boyle","id":"4876876000000327001"}},"message":"record updated","status":"success"}]}