When you are doing integration via API, as an affiliate, you might counter a basic problem, how to pull offers.
In this article, we will introduce how to pull offers.
- Get Public Offer + Your Approval Offer + Private Offer
https://yourAPIdomain/aff/v1/batches/offers?contains=description&type=personal&offset=1&limit=100
- Get Public Offer:
https://yourAPIdomain/aff/v1/batches/offers?contains=description&type=personal&offset=1&limit=100&filters[offer_approval]=2
- Get Require Approval Offer:
https://yourAPIdomain/aff/v1/batches/offers?contains=description&type=personal&offset=1&limit=100&filters[offer_approval]=1
- Get Private Offer:
https://yourAPIdomain/aff/v1/batches/offers?contains=description&type=personal&offset=1&limit=100&filters[offer_approval]=3
Some explanations of parameters are as follows:
- type=personal : Access offers which can be run;
- limit=100: One page with 100 results(100 is maximum);
- offset=1: Request result of the first page.
Please get the Api domain and Api key in Affiliate panel.
For more detail, please check our API document:https://offerslook-api.gitbook.io/api-documentation/affiliate_api