# Create Order

<mark style="color:green;">`POST`</mark> `/api/order`

**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>허브 관리자 </td></tr><tr><td><span data-option="2rSBGCjaXeFt">COMPANY</span></td><td>업체</td></tr><tr><td><span data-option="bviBPLZFY8t3">SHIPPER</span></td><td>허브 배송 담당자</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>supply_company_id</code></td><td>Long</td><td>공급 업체 Id</td></tr><tr><td><code>demand_company_id</code></td><td>Long</td><td>수요 업체 Id</td></tr><tr><td><code>productId</code></td><td>Long</td><td>상품 Id</td></tr><tr><td><code>deliveryId</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 %}

{% tab title="400" %}

```json
{
  "error": "Invalid request"
}
```

{% endtab %}
{% endtabs %}
