# 6.2 訂單

### 訂單

依據時間區間取得每日訂單數量

* **URL** /order
* **Method** `GET`
* **URL Params** **Required:** from=\[string] to=\[string]
* **Data Params** None
* **Success Response:**
* Code:200 OK

Content: 請參考範例說明

* **Error Response**:
* Code : 400 Bad Request

Content : { error : "無效的參數值" }

* **Examples:**

```
GET /order?from=long&to=long

Response:
{
"result": [
{
date : long,
value: 341
},
{
date : long,
value: 238
}
]
}
```
