Answers.Body: <p>Updating an order from the front end would not be possible unless the user has update/manage order permissions. </p>
  
  <p>As for the message it is simply a <code>message</code> post param that you send along with the status ID.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-12T11:07:43.763Z
Answers.Text: Thanks Luke. Something must have been awry as I'd tried that but it's now working.
Answers.UserDisplayName: Clive Portman
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-11T17:55:39.503Z
Answers.LastActivityDate: 2018-04-11T17:55:39.503Z
Answers.UserDisplayName: Luke Holder
Body: <p>It's easy enough update the order status from the frontend using:</p>
  
  <pre><code>&lt;input type="hidden" name="action" value="commerce/orders/updateStatus"&gt;
  &lt;input type="hidden" name="orderId" value="{{ order.id }}"&gt;
  &lt;input type="hidden" name="orderStatusId" value="{{ order.orderStatus.id }}"&gt;
  </code></pre>
  
  <p>But I'm wanting to add a message to go with the status. Any pointers? It looks like the message is part of the Order History model, not the Order Status model.</p>
  
Tags: <plugin-craftcommerce><order><status>
Title: How to save Order Status Message in Craft Commerce using frontend form
ThreadText: # How to save Order Status Message in Craft Commerce using frontend form
  
  (Asked by: username_0 on 2018-04-11)
  
  It's easy enough update the order status from the frontend using:
  
  ```
  <input type="hidden" name="action" value="commerce/orders/updateStatus">
  <input type="hidden" name="orderId" value="{{ order.id }}">
  <input type="hidden" name="orderStatusId" value="{{ order.orderStatus.id }}">
  
  ```
  
  But I'm wanting to add a message to go with the status. Any pointers? It looks like the message is part of the Order History model, not the Order Status model.
  
  **Tags:** plugin-craftcommerce, order, status
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-04-11. Score: 1 | Accepted answer
  
  Updating an order from the front end would not be possible unless the user has update/manage order permissions.
  
  As for the message it is simply a `message` post param that you send along with the status ID.
  
  > **Comments:**
  > **username_0**: Thanks username_1. Something must have been awry as I'd tried that but it's now working.  
  
  ---
  
  