This API Query summarizes per each Store ID, User ID, Order ID, and DateTime: the total quantity of SKUs or items placed, the total amount of revenue, the total quantity of distinct products within the order.

Filter Base{
"queryName": "<query_name>",
"limit": "<total_records_to_return>",
"timeZone": "<time_zone>" ,
"startDate": "<init_date_yyyy-mm-dd HH:mm:ss>",
"endDate": "<end_date_yyyy-mm-dd HH:mm:ss>"
}
Custom Filters{
“flow”: “<workflow_name_or_botid>”,
“storeId”: “<storefront_storeid>”,
“userId”: “<user_id>”
}

Metrics

NameDescription
DateTimeTime interval of analysis
Customer NameThe customer company that owns the flows.
FlowIt helps to understand which of our flows the information corresponds to.
Order IDUnique ID of the order generated
Store IDUnique ID of the registered store
User IDPhone number of the user registered in WhatsApp
Total Order RevenueTotal amount of revenue generated in the order in the selected time analysis interval
Total Quantity Of ItemsTotal quantity of products/items sold in the selected time analysis interval
Quantity Of Distinct Products In OrderQuantity of distinct SKUs or items sold within the order in the selected time analysis interval