Coder Social home page Coder Social logo

infusionsoft's Introduction

infusionsoft

InfusionSoft node.js SDK.

npm

Travis Dependency Status

Installation

npm install infusionsoft 

Usage

var iSDK = require('infusionsoft');
var client = new iSDK('app_name', 'api_key');

Implemented methods

see help.infusionsoft.com for more information

APIEmailService.getEmailTemplate: client.getEmailTemplate(templateId, callback)

APIEmailService.getOptStatus: client.optStatus(email, callback)

APIEmailService.optIn: client.optIn(email, reason, callback)

APIEmailService.optOut: client.optOut(email, reason, callback)

APIEmailService.sendEmail: client.sendEmail(contactList, fromAddr, toAddr, ccAddr, bccAddr, contentType, subject, html, text, templateId, callback)

ContactService.add: client.addCon(contactData, callback)

ContactService.addToCampaign: client.campAssign(contactId, campaignId, callback)

ContactService.addToGroup: client.grpAssign(contactId, groupId, callback)

ContactService.addWithDupCheck: client.addWithDupCheck(data, dupCheckType, callback)

ContactService.findByEmail: client.findByEmail(email, fMap, callback)

ContactService.load: client.findCon(contactId, fieldList, callback)

ContactService.merge: client.mergeCon(contactId, duplicateId, callback)

ContactService.removeFromGroup: client.grpRemove(contactId, groupId, callback)

ContactService.runActionSequence: client.runAS(contactId, seqId, callback)

ContactService.update: client.updateCon(contactId, contactData, callback)

DataService.add: client.dsAdd(tableName, data, callback)

DataService.delete: client.dsDelete(tableName, id, callback)

DataService.echo: client.appEcho(text, callback)

DataService.findByField: client.dsFind(tableName, limit, page, field, value, fieldMap, callback)

DataService.getAppSetting: client.dsGetSetting(module, setting, callback)

DataService.load: client.dsLoad(tableName, id, callback)

DataService.update: client.dsUpdate(tableName, id, data, callback)

DataService.query: client.dsQuery(tableName, limit, page, query, fieldMap, callback)

DataService.query: client.dsQuery(tableName, limit, page, query, fieldMap, orderBy, ascending, callback)

FunnelService.achieveGoal: client.fsGoal(integration, callName, contactId, callback)

InvoiceService.addManualPayment: client.addManualPayment(invoiceId, amount, paymentDate, paymentType, paymentDescription, bypassCommissions, callback)

InvoiceService.addOrderItem: client.addOrderItem(invoiceId, productId, type, price, quantity, description, notes, callback)

InvoiceService.calculateAmountOwed: client.calculateAmountOwed(invoiceId, callback)

InvoiceService.createBlankOrder: client.createBlankOrder(contactId, description, date, leadAffiliateId, saleAffiliateId, callback)

InvoiceService.createInvoiceForRecurring: client.createInvoiceForRecurring(recurringOrderId, callback)

InvoiceService.locateExistingCard: client.locateCard(contactId, lastFour, callback)

InvoiceService.validateCreditCard: client.validateCard(card, callback)

OrderService.placeOrder: client.placeOrder(contactId, creditCardId, payPlanId, productIds, subscriptionIds, processSpecials, promocodes, callback)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.