I'm trying to get contacts / orders with DateCreatedas filter:
$noofcontacts = $infusionsoft->orders()->with('DateCreated','~>=~2020-04-25T00:00:00')->count();
But it ignores the date and returns all contacts / orders.
@xemacscode Based on the REST API documentation It looks like you cannot filter by DateCreated. If you want to do that you would have to use the legacy XMLRPC API.
I'm trying to get contacts / orders with
DateCreated
as filter:$noofcontacts = $infusionsoft->orders()->with('DateCreated','~>=~2020-04-25T00:00:00')->count();
But it ignores the date and returns all contacts / orders.
$noofcontacts = $infusionsoft->contracts()->where('DateCreated','~>=~2020-04-25T00:00:00')->count();
I tried place in
where
still the same output. Any ideas?