Hello,
I am making a call to Envato API trying to fetch earnings-and-sales-by-month. However it returns an empty array. If I request the statement, it works, but I need the former results.
http://marketplace.envato.com/api/v3/winithemes/api-key-was-replaced/earnings-and-sales-by-month.jsonIs the API malfunctioning or am I doing something wrong?
Thank you!
do you have any sales? if no then its returning properly
I have commisions. I suppose commisions are earnings, therefore they should be included here.
WiniThemes said
I have commisions. I suppose commisions are earnings, therefore they should be included here.
there is no affiliate information returned by the API
Returns the monthly sales data, as displayed on the user’s earnings page.
Thanks for your prompt replies.
Actually it is possible. http://marketplace.envato.com/api/v3/winithemes/api-key/statement.json returns earnings, including refferal cuts, the drawback is that it returns only the last 100. If I could get more than 100, lets say 500, that would be way better. And that is supposed to be provided with the earnings and sales by month api call.
Thank you for that link. Now I see your pain Chris.
I must agree, the API needs some improvements ASAP and it’s a shame it misses such important features as get all earnings and sales data for retrieving the data the api call is saying to do (sales + earnings, and affiliate earnings are also earnings!).
I will request a DEV to reply on this one
It’s already 5 days since I first requested a staff to reply…
