# Update Order

<mark style="color:green;">`PUT`</mark> `/api/order/{orderId}`

**Access Permissions**

<table data-header-hidden><thead><tr><th>Role<select><option value="2rSBGCjaXeFt" label="COMPANY" color="blue"></option><option value="ozSCTBKJPNgy" label="HUB_ADMIN" color="blue"></option><option value="Mfl8c1CRYAaD" label="MASTER" color="blue"></option><option value="bviBPLZFY8t3" label="SHIPPER" color="blue"></option></select></th><th>Description</th></tr></thead><tbody><tr><td><span data-option="Mfl8c1CRYAaD">MASTER</span></td><td>마스터</td></tr><tr><td><span data-option="ozSCTBKJPNgy">HUB_ADMIN</span></td><td>허브 관리자 <br>( 해당 주문과 관련된 허브 관리자만 가능 )</td></tr></tbody></table>

**Headers**

| Name          | Value              |
| ------------- | ------------------ |
| Content-Type  | `application/json` |
| Authorization | `Bearer <token>`   |

**Body**

<table><thead><tr><th width="249">Name</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td><code>orderId</code></td><td>Long</td><td>주문 Id</td></tr><tr><td><code>amount</code></td><td>Integer</td><td>주문 수량</td></tr></tbody></table>

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
  result:SUCESS,
  data: 
  
}
```

{% endtab %}
{% endtabs %}
