I am trying to set the contact_by to different User based on the kind of Opportunity, I am even passing the right email, as its a link field with options as User while calling the API, but it always defaults to the contact_by of the Lead for which this Opportunity is being created.
Any pointers regarding what I am missing would really help.
Thanks
I have fields like phone, contact_by locality, city and pincode in lead form which captures the data from our site for a lead.
If the same user comes and puts up some other details this should create an opportunity with these new data, but its using the data from the original lead and populating the Opportunity.