Quantcast
Viewing all articles
Browse latest Browse all 13974

Using the reporting API to query an ecommerce order by orderId

@Jeffrey wrote:

Is there a way to query an ecommerceOrder by orderId?

When I want to query ecommerce order data, I currently query the visitor who did the ecommerceOrder, and then extract the ecommerceOrder data from the visitors actionDetails:

https://xxxxx.piwik.pro?module=API&method=Live.getVisitorProfile&idSite=xxxxx&visitorId=xxxxx&token_auth=xxxxx&format=JSON

It works fine, but that only works when you have both the orderId and the visitorId.


When checking my Magento installation, the ecommerce order ID matches the orderId in Piwik (nice feature!) but how can I use this order ID to request data for that order with the Piwik reporting API?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 13974

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>