title: Creating custom API in xcart
body: <p>I am using xcart for developing my custom API's. But I am not able to figure out how the existing API's of xcart are working.</p>
  
  <p>I have found an existing API which gives the product details corresponding to the product id.</p>
  
  <pre><code><b>API -</b> http:///admin.php?target=RESTAPI&_key=rest-api-key&_path=product/1</code></pre>
  
  <p>Can you please tell the routing and controller for the above API?</p>
  
  <p>Thanks</p>