In my PHP Symfony app I'm trying to retrieve Woocommerce subscriptions filtered by modified date and there's no documentation available as to how "filter" parameter can be used with the API. (https://prospress.github.io/subscriptions-rest-api-docs/#list-all-subscriptions). For now all I can use is "after" and "before" for date filtering which seem to be using subscription created date.
use Automattic\WooCommerce\Client;
use Automattic\WooCommerce\Admin\Notes\WooCommerceSubscriptions;
$wc_subscription = new Client($this->getParameter('woocommerce_url'), $this->getParameter('woocommerce_key'), $this->getParameter('woocommerce_secret'), ['version' => 'wc/v1',]);
$subs = $wc_subscription->get('subscriptions', ['page' => 1, 'per_page' => 100, 'filter' => ['date_modified' => '2021-02-01']]);
This returns extremely high record number which is incorrect because only a few subscriptions have got updated.
How can I filter by "date_modified" or any other field in the subscription response object.