Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Latest commit

 

History

History
250 lines (233 loc) · 3.84 KB

README.md

File metadata and controls

250 lines (233 loc) · 3.84 KB

Zoho CRM rest api wrapper for node.js

Build Status NPM version Code Climate Stories in Ready

currently supports:

  • authentication
  • insertingRecord on all resources

Currently a WIP, but feel free to ask how you can help.

Product and Module Support

CRM

Method Leads Accounts Contacts Potentials Events Notes
insertRecords
convertLead NA NA NA NA NA
getRecordById
getMyRecords
getRecords
getCVRecords
updateRecords
getSearchRecords
getSearchRecordsByPDC
deleteRecords
getRelatedRecords
getFields
updateRelatedRecords
getUsers
uploadFile
downloadFile
deleteFile
uploadPhoto
downloadPhoto
deletePhoto

More to come...

Example of use

var Zoho = require('node-zoho');

zoho = new Zoho({authToken:'API-TOKEN'});
records = [
  {
    "Lead Source" : "Site Registration",
    "First Name"  : "Test",
    "Last Name"   : "Testerson",
    "Email"       : "[email protected]",
  }
];

zoho.execute('crm', 'Leads', 'insertRecords', records, function (err, result) {
  if (err !== null) {
    console.log(err);
  } else if (result.isError()) {
    console.log(result.message);
  } else {
    console.log(result.data);
  }
});

Contribute

All the code is coffescript, but we deploy compiled js to npm. If you want to help, checkout the git repo and submit a PR.

NPM

Zoho CRM API