Is there a way to export Ecommerce data?

I’ve been trying my luck to get the data for the Ecommerce Log via API but the log apparently only returns HTML. I then looked at the possiblity at least to get the actual “Ecommerce Order” entry you see in the visitor profile but haven’t figure it out yet. I’ll keep digging into the documentation and source, btu if anyone knows how it’s done please let me know. The solution can be language independant.

Hi @schnitzel
Maybe this can help:
https://developer.matomo.org/api-reference/reporting-api#Goals