title: Getting current cart ID in prestashop
body: <p>I am busy with a site built on Code Igniter that needs integration with Prestashop. In the site, when creating a user account, I save a "shop_id" to the database, which is then retrieved as a session variable when logging in.</p>
  
  <p>I am using the Prestashop API to retrieve the customer successfully (using above "shop_id")</p>
  
  <pre><code>$xml = $this-&gt;PSWebService-&gt;get(
      array('resource' =&gt; 'customers', 'id' =&gt; (int)$this-&gt;user['shop_id'])
  );
  </code></pre>
  
  <p>This successfully returns the user in question, but there is no Cart IDs in this result.</p>
  
  <p>Logging in to the back-end of my shop, I see that there are multiple carts associated with the logged in user.</p>
  
  <p><strong>My question is</strong>: How to I retrieve the LATEST cart ID using the API?</p>