HOW TO ADD PRODUCTS, NOTES, ETC. TO LEAD USING PHP SDK V2 ??????????????

HOW TO ADD PRODUCTS, NOTES, ETC. TO LEAD USING PHP SDK V2 ??????????????

I´m new to zoho and using PHP SDK with API , I want to know how to add product and all sub-form.

Pleas help me to getting out of this problem..


$records=array();

    $moduleIns = $this->zohoinst->getModuleInstance("Leads");

    $record= \ZCRMRecord::getInstance("Leads",null);  //To get ZCRMRecord instance
    $record->setFieldValue("Company","API COMPANY");
    $record->setFieldValue("First_Name","API FIRST NAME");
    $record->setFieldValue("Last_Name","API LAST NAME");
    $record->setFieldValue("Full_Name","API FULL NAME");
    $record->setFieldValue("Email","apiemail@yopmail.com");
    $record->setFieldValue("Phone","9988388997");
    array_push($records, $record);

    $response = $moduleIns->createRecords($records);


here is my code.....
Also suggest for edit... :-)