UpdateRecord and Testing

  • use the in-built updateRecord function in Books
  • we already defined all the parameters it asks for
  • specify the module, Organization ID, Customer ID, and insert your map
  • then, execute, and use your info statements to check that you did it correctly
  • you can also check the Customer record to see that your test record was updated

Update: the connection name is now a required parameter in Zoho Books integration tasks. Look at this announcement from Zoho for more details and view the updateRecord integration task.

So, your code would look more like this: updateCustomer = zoho.books.updateRecord(“Contacts”, orgId, customerMap, “connection_name”);

(You’ll have to create your own connection from Zoho Books….to itself, from Zoho Books)

Zoho Books Update Record Function