title: woocommerce get API for order products store name
body: <p>I'm creating a <code>API</code> for show order details. I need to show product <code>store name</code>. like this</p>
  
  <p><a href="https://i.stack.imgur.com/BFOym.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BFOym.png" alt="enter image description here"></a></p>
  
  <p>This is my code:</p>
  
  <pre><code>include "auth.php";
  $id= $_GET["id"]; // order_id
  $result =  $woocommerce-&gt;get('orders/'.$id);
  echo json_encode(array("result"=&gt;$result));
  </code></pre>
  
  <blockquote>
    <p>Note: I want to get <code>store name</code> by <code>order_id</code></p>
  </blockquote>