So i'm working with the SOAP api where i'm playing around with what type of data I can access and use. For now i'm only using a demo account. What i'm trying to wrap my head around at the moment is the Order_GetAll() which I would expect to return a list of the orders. My code is:
$client = new SoapClient('http://www.e-conomic.com/secure/api1/EconomicWebService.asmx?wsdl');
$response = $client->ConnectWithToken(array(
'token' => 'token',
'appToken' => 'appToken'
$getOrders = $client->Order_GetAll();
When I log in myself I can easily see there are two orders in the
system. But somehow the object return contains three items with an
Id value I don't seem to recognise from anywhere.
stdClass Object ( [Order_GetAllResult] => stdClass Object ( [OrderHandle]
=> Array (  => stdClass Object ( [Id] => 30 )  => stdClass Object
( [Id] => 31 )  => stdClass Object ( [Id] => 32 ) ) ) )
So anyone able to tell me what I'm actually getting out here? What I'm
working towards is getting orders with some values that can be displayed
such as a name/title, an amount etc.