Zoho CRM rest api wrapper for node.js
currently supports:
- authentication
- insertingRecord on all resources
Currently a WIP, but feel free to ask how you can help.
| 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...
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);
}
});
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.




