Discussing APIs and development related to customers, discounts, and order management.
I'm trying to find the total sales associated with a given discount code so I can display it on the UI of my admin app. I want the total sales number to reflect refunds/cancelled orders. Are these factors included in the calculation for the totalSales field on DiscountCodeBasic?