Canceled and Paused Items not appearing in API output or SnipCart Dashboard

I created a report that lists canceled clients and emails the appropriate people on our staff (based on the product information).

However we quickly noticed that the report is not outputting information we know should be appearing.

Comparing recently canceled plans with the SnipCart dashboard, I see that the “to” and “from” dates in the API call don’t refer to the date that the subscriptions were paused or canceled (pausedOn or cancelledOn), but by the date of the ORIGINAL subscription creation (creationDate).

This information doesn’t help, obviously, if we’re trying to monitor subscription changes that occur over the previous day.

How can I pull subscriptions that are paused and canceled during a specified date range?