API Endpoints Update

We have made several updates to our API endpoints!

For our /advertisers API endpoint, we added another field called “lastCommissionUpdated” that will have a date stamp of the last time an advertiser updated their commission. You can also sort the columns by this field, either ASC or DESC.

If you would like a list of all your approved advertisers that have recently updated their payout, and sorted by newest to oldest, you can make the API call like this: https://api.flexoffers.com/advertisers?ApplicationStatus=approved&ProgamStatus=approved&SortColumn=lastCommissionUpdated&SortOrder=DESC&Page=1&pageSize=50

A new API endpoint was introduced that will allow you to create a deep link for any of your approved advertisers. The API endpoint is /deeplink and it has query parameters for “advertiserID”, “URL”, “fobs”, “fobs2”, “fobs3”, “fobs4”, “fobs5”. The fobs parameters allow you to pass up to five sub-tracking IDs.

For example, if you want to create a deep link for Macys.com, advertiser ID #127, you can make the call like this – https://api.flexoffers.com/deeplink?AdvertiserId=127&URL=https://www.macys.com/shop/product/ray-ban-sunglasses-rb3447-round-metal?ID=3702106%26CategoryID=28295&fobs=SubID
The API will return the following –
{
“domainID”: 117,
“adveriserID”: 127,
“deeplink”: “https://track.flexlinkspro.com/a.ashx?foid=177.A127&foc=21&fot=9999&fos=1&AdvertiserId=127&URL=https://www.macys.com/shop/product/ray-ban-sunglasses-rb3447-round-metal?ID=3702106&CategoryID=28295…“,
“originalUrl”: “https://www.macys.com/shop/product/ray-ban-sunglasses-rb3447-round-metal?ID=3702106&CategoryID=28295
}

Here is another example for Macys.com: