cake-affiliate-api
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "cake-affiliate-api", | ||
"description": "Cake Affiliate API for Node.js", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.js", |
CAKE Affiliate API for Node.js | ||
======================= | ||
============================== | ||
@@ -49,2 +49,21 @@ [CAKE](http://getcake.com) is _SaaS platform providing marketing intelligence for perforfmance marketers_ (LinkedIn). These guys have many | ||
### [addLinkCreative](https://support.getcake.com/hc/en-us/articles/200652944-cupCAKE-Commerce-Intelligence-Setup-and-Configuration-Affiliate-Publisher-)(campaignId, data, callback) | ||
`data` options: | ||
* **creativeName** (required) | ||
* **offerLink** (required) | ||
* `description` defaults to `null` | ||
### [applyForOffer](https://support.getcake.com/hc/en-us/articles/200706440--Offers-ApplyForOffer-V3-Affiliate)(offerContractId, data, callback) | ||
`data` options: | ||
* **mediaTypeId** (required) | ||
* `notes` defaults to `null` | ||
* **agreedToTerms** defaults to `false` | ||
* **agreedFromIpAddress** (required) | ||
### [creativeFeed](https://support.getcake.com/hc/en-us/articles/200652944-cupCAKE-Commerce-Intelligence-Setup-and-Configuration-Affiliate-Publisher-)(exportFeedId, updatesSince, callback) | ||
### [getCampaign](https://support.getcake.com/hc/en-us/articles/200705940--Offers-GetCampaign-V2-Affiliate)(campaignId, callback) | ||
@@ -92,2 +111,10 @@ | ||
### [sendCreativePack](https://support.getcake.com/hc/en-us/articles/200706460--Offers-SendCreativePack-V2-Affiliate)(campaignId, creativeId, contactId, callback) | ||
### [setPixel](https://support.getcake.com/hc/en-us/articles/200706040--Offers-SetPixel-V2-Affiliate)(campaignId, pixelHtml, callback) | ||
### [setPostbackURL](https://support.getcake.com/hc/en-us/articles/200706030--Offers-SetPostbackURL-V2-Affiliate)(campaignId, postbackURL, callback) | ||
### [setTestLink](https://support.getcake.com/hc/en-us/articles/200706020--Offers-SetTestLink-V2-Affiliate)(campaignId, testLink, callback) | ||
## Options | ||
@@ -94,0 +121,0 @@ |
15159
26
158