1.0.1 • Published 8 years ago
pepperjam-report v1.0.1
Pepperjam report
Pepperjam Affiliate Network Reports.
//Loading the modules
var $pepperjamDetails = {
apiVersion : '20120402',
apiKey : 'apikey'
}
var Pepperjam = require('./lib/pepperjam').Affiliate($pepperjamDetails)
//Getting the report
Pepperjam.Report({
report : 'publisher/report/transaction-details',
filters : {
startDate : '2016-01-01',
endDate : '2016-07-13'
}
}, function(err,data) {
console.log(err,data)
})
Filters
Check the parameters that can be passed through Report from https://classic.avantlink.com/affiliate/api_request_builder.php . The parameters differ according to the module.