title: Can't display the json data which I got from my woocommerce store to another website
body: <p>I want to post the detail of woocommerce orders like id, address, name etc of my woocomerce website to a page of another website of mine. I am getting responses in <a href="http://www.baruipurjn.in/wp-json/wc/v2/orders" rel="nofollow noreferrer">http://www.baruipurjn.in/wp-json/wc/v2/orders</a>. I want to post the order details. I have successfully included the jQuery file in my functions.php file. My jQuery code is here. I am completely new in json and jquery. Please help.</p>
  
  <pre><code>    jQuery(function($){ 
       $.getJSON( "http://www.baruipurjn.in/wp-json/wc/v2/orders", function(data) {
       var ordersData='';
       $.each(data, function(key,value){
          ordersData += "&lt;tr&gt;";
          ordersData += "&lt;td&gt;" + value.id + "&lt;/td&gt;";
          ordersData += "&lt;td&gt;" + value.number + "&lt;/td&gt;";
          ordersData += "&lt;td&gt;" + value.total + "&lt;/td&gt;";
          ordersData += "&lt;/tr&gt;";
           });
           $("orders").append(ordersData);
         });
       });    
  </code></pre>
  
  <p>The id of the table where I want to put the data is "orders"</p>