Create Leads with associated products through the API

Create Leads with associated products through the API


Hello,

While creating a lead through the API, we would also like to associate the products related with the lead. 

We have tried this and it creates the lead but it does not create related products for the lead. I would assume that the bold part below represents the product associated with the lead but this does not work :

https://crm.zoho.com/crm/private/xml/Leads/insertRecords?authtoken=someauthtoken&scope=crmapi&xmlData=<Leads> <row no="1"> <FL val="Lead Source">Web Download</FL> <FL val="Company">Your Company</FL> <FL val="First Name">Hannah</FL> <FL val="Last Name">Smith</FL> <FL val="Email"> testing@testing.com</FL> <FL val="Title">Manager</FL> <FL val="Phone">1234567890</FL> <FL val="Home Phone">0987654321</FL> <FL val="Other Phone">1212211212</FL> <FL val="Fax">02927272626</FL> <FL val="Mobile">292827622</FL> <FL val="Products"><product no="1"><FL val="Product Id">2265138000000130102</FL></product> </FL></row> </Leads>

This is crucial for us to use the zoho crm effectively since we will be receiving requests for quotes via woocommerce and then push those quote requests into zoho crm as leads.

Thanks for your help.

Samar