Update Contact Person in Zoho Invoice
Hello,
I’m trying to update the contact person in an invoice in Zoho Books using Zoho Creator. No I’ve written the following script but I still get the response: Bad JSON format/request etc. What am I doing wrong?
The script is:
- contactpersonlist = list();
- contactperson = Map();
- contactperson.put(1,957028000001488016);
- contactpersonlist.add(contactperson);
- response = zoho.books.updateRecord("invoices","<orga/id>","957028000001529129",{"contact_persons":""+ contactpersonlist +""});
- input.Response = response;