Any methods return promise object.
client.associatedContacts.find(dealId[, params][, callback(err, contacts)]);
dealId
is unique identifier (number) of the dealparams
is object with a list of filters, not requiredcallback
is a function, not required
client.associatedContacts.create(dealId, data[, callback(err, contact)]);
dealId
is unique identifier (number) of the dealdata
is a contact objectcallback
is a function, not required
client.associatedContacts.remove(dealId, id[, callback(err, state)]);
dealId
is unique identifier (number) of the dealid
is unique identifier (number) of the contactcallback
is a function, not required
contact.remove(dealId, [callback(err, state)]);
dealId
is unique identifier (number) of the dealcallback
is a function, not required
Detailed documentation in the official API
MIT
Report here.