Skip to content

Instantly share code, notes, and snippets.

@chadedrupt
Created May 13, 2015 01:20
Show Gist options
  • Save chadedrupt/405d913f3d7a6480fd02 to your computer and use it in GitHub Desktop.
Save chadedrupt/405d913f3d7a6480fd02 to your computer and use it in GitHub Desktop.
var connect = new Connect({
apiKey: 'YOUR_API_KEY'
});
var purchase = {
customer: {
firstName: 'Tom',
lastName: 'Smith'
},
id: '1849506679',
product: '12 red roses',
purchasePrice: 34.95
};
connect.push('purchases', purchase);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment