Get average, statistics from Database for single customer and sorting
Hi,
I have integrated klaviyo with our custom laravel database.
We excluded orders and using only products(ordered product, fulfilled product, refunded product) and i explored in klaviyo but im not sure where/how to get a stats of a customer(eg:avg value purchased by customer) and sort customers in the way of highest purchaser to lowest etc..
Can you please advise on the above.
Thankyou

