Hi All,
We are trying to calculate customer returns programmatically. I couldn’t find any object/variable/query that allow us to readily use the total returns by customers. Only close option I can see is this: https://shopify.dev/docs/api/admin-graphql/2024-01/objects/Customer#connection-orders-query-query-filter-return_status. However, we want to get customers with count of returns done in the life time. Is there any other way we can get parameters closer to this ?