title: WooCommerce - building a custom api
body: <p>For specific product needs, I am creating a custom api for my application to query WooCommerce.</p>
  
  <p>I am able to hook into the 'parse_request' action, but it would seem that this is too early for woocommerce to be correctly setup.</p>
  
  <p>I know this because if I try to query for order information, I am getting back error objects saying that taxonomie is incorrect.</p>
  
  <p>What do I need to do to correctly have woocommerce initialised so that I can query for orders and products (along with their custom attributes) ?</p>
  
  <p>Can anyone help me with this ?</p>