Hi,
All of our shopify traffic comes through our custom store/Sales Channel. We use the js-buy-sdk which interacts with the storefront api, this has been tested with js-buy-sdk as well as just using the storefront graphql api.
The problem is the discounts applied to orders in our store don’t seems to be tracked. This means the sales by discount report is blank even though there have clearly been sales with discount codes in this date range.
It also means when I use the graphQL admin api and query for codeDiscount
the asyncUsageCount
values of the code is always 0. Even when the code has been used 100s if not 1000s of times.
Orders show up with discounts applied
A point in the right direction would be appreciated.