I’m trying to get revenue through api and for that i’m fetching the timeline data of ‘Placed Orders’ metric (using this endpoint `/api/v1/metric/${metricId}/timeline`) and summing up `event_properties.$value` but the number is significantly different from what i see in the dashboard, any reason for that?
Hi
I’m going to check with Engineering on this, and I will update the thread as soon as possible!
Best,
Brian
Hi
Do you mind sharing which dashboard you’re referring to? Several different dashboards are available in the Klaviyo UI, so it will help myself and other Community members obtain more context on the issue.
I also noticed that you’re using the v1 /metric endpoint, and I would highly recommend our new v3 Query Metric Aggregates instead, since the legacy endpoints will be depreciated at the end of 2023.
The Query Metric Aggregates has a number of use cases that are highlighted in this guide, including retrieving revenue from Placed Order metrics:
Best,
Brian
Reply
Log in to the Community
Use your Klaviyo credentials
Log in with Klaviyo
Use your Klaviyo credentials
Log in with KlaviyoEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.