I am using insufionsoft php API to fetch the details of orders for generating some stats for my reports page. I want to get the details of todays order, yesterdays order, last 7 days orders. I have connected using the API and able to fetch the contact details but I am not able to find any documentation related to fetch order details.
I have connected in this way to fetch contact using email
require_once("../src/isdk.php");
$app = new iSDK;
$app->cfgCon("gtrrde", "<Infusionsoft API key replaced>");
$contacts = $app->findByEmail('yu@yahoo.com', array('Id', 'FirstName', 'LastName', 'Email'));
How can I fetch all Order details ??