Hi everyone,
I'm trying to query revenue metrics such as Placed Order. According to the documentation:
![](https://uploads-us-west-2.insided.com/klaviyo-en/attachment/2c0c9ea6-8c99-4a8a-92dc-b62eaed8df4c.png)
This information appears to be incorrect, as the provided values are actually Campaign IDs and Flow MESSAGES IDs. Initially, I assumed I could distinguish campaign IDs by their character length. However, I discovered that some Campaign IDs are shorter, similar to Flow or Flow Message IDs. This discrepancy complicates my data mapping and combination across different tables, making the API response somewhat unclear.
Additionally, I’m struggling to find detailed explanations for the supported attribute metrics. For instance, what exactly is a $message? What kind of data does it return? Does it include both Campaigns and Flows, or just Campaigns?
While the endpoint itself is useful, the response structure could use improvement.
Thanks for your help!