title: Magento 2 rest api order status always updated to complete
body: <p>I want to update order status using Magento 2 REST API, for this purpose i use this api,</p>
  
  <pre><code>hostname/magento/index.php/rest/V1/orders
  </code></pre>
  
  <p>and also pass json data in POST request </p>
  
  <pre><code>$data_json = [
      'entity'=&gt; [
          'entity_id' =&gt; 1,
      'state'=&gt;'processing',
      'status'=&gt;'Processing',
      ]
  ];
  </code></pre>
  
  <p>after executing above code it always update state and status as completed.
  Please specify what i am doing wrong.</p>
  
  <p>Thanks in advance.</p>