Skip to main content

API Request

I'm using Bitflows to get the data from orders expressed in a Google Sheet and am stuck getting the individual commission amounts per line item, some products earn 5% some 10%, some affiliates earn 15% but not on all products. So any form of hardcoding with ACF Fields or otherwise is a non starter.

I'm using the end point to check that theres a referall on the main order which gets me so far - https://isotonik.studio/wp-json/fluent-affiliate/v2/referrals?provider_id=&per_page=1

It seems that to collate all of the information i need that i thought should just be in the original data take a fair few API Requests....

Darren Cowley

Shahjahan JewelΒ is this on the roadmap? I've tired every endpoint i could find and confused as to why there isn't one that will give me line item affilliate commission?

Shahjahan Jewel

This is the REST API doc for referrals: https://dev.fluentaffiliate.com/restapi/referrals

Darren Cowley

Shahjahan JewelΒ Thanks, i can't seem to see anywhere in there to be able to get the line item commissions?