Promotionaloffers

Description

Get the promotions and voucher codes

URL(s)

https://apiv2.effiliation.com/apiv2/commercialtrades.xml?key=YOUR_API_KEY
https://apiv2.effiliation.com/apiv2/commercialtrades.csv?key=YOUR_API_KEY
https://apiv2.effiliation.com/apiv2/commercialtrades.json?key=YOUR_API_KEY

Parameters

Parameter Format Description Example value
keyStringPublisher api keyYOUR_API_KEY
filterStringAllows to filter the link list on properties such as activity, publisher programs, effiliation recommandations...mines(programs I am registered), recommendation(programs I am not registered), active(programs with activity), inactive(programs with no activity)
lgStringOutput languagefr, en, es, it, pt, de, nl
modeStringAllows to filter the link list on new programsnew
countryStringAllows to filter the link list on coverage countries, several values separated by commas can be setfr, ge, au, be, da, sp, gr, nl, it, uk, sw, sz, br, bu, cy, en, fi, hu, ei, lg, lh, lu, mt, pl, pt, ro, lo, si, cz, tu
categoriesStringAllows to filter the link list on advertiser categories id, several values separated by commas can be setA category ID is an integer value. Check our category API documentation
typeStringAllows to filter the link list on link typecr(reduction code) or bp(good shots)
sessionsStringAllows to filter the link list on the given session ids, several values separated by commas can be setA session ID must be an integer value

Returned fields

Use fields selector to choose the fields you need. Eg: fields=00101.

Field Description Type
idString
id_lienEffiliation link unique IDInteger
id_typelienInteger
id_affilieurEffiliation advertiser unique IDInteger
id_sessionEffiliation session unique IDInteger
id_compteurEffiliation counter unique IDInteger
nomLink nameString
date_debutLink begin dateDate
date_finLink end dateDate
nomprogrammeProgram nameString
site_affilieurAdvertiser site nameString
url_affilieurAdvertiser urlString
url_logoAdvertiser logo urlString
typeTrade typeString
intituleLink titleString
descriptionLink descriptionString
exclusiviteIndicates whether the link is an Effiliation exclusive linkString
url_redirLink redirection urlString
codeLink codeString
nouveauString
id_programmeProgram unique IDInteger

Examples

An XML feed with all my commercial trades

https://apiv2.effiliation.com/apiv2/commercialtrades.xml?key=YOUR_API_KEY&filter=mines

An XML feed with all my new commercial trades

https://apiv2.effiliation.com/apiv2/commercialtrades.xml?key=YOUR_API_KEY&filter=mines&mode=new

A CSV feed with all my reduction codes

https://apiv2.effiliation.com/apiv2/commercialtrades.csv?key=YOUR_API_KEY&filter=mines&type=cr

A JSON feed with good shots I'm not registered

https://apiv2.effiliation.com/apiv2/commercialtrades.json?key=YOUR_API_KEY&filter=recommendation&type=bp

An XML feed with all my new french and german commercial trades

https://apiv2.effiliation.com/apiv2/commercialtrades.xml?key=YOUR_API_KEY&filter=mines&mode=new&country=fr,ge