**Version: 202201**

# Order Risk List

**GET** `/openapi/2022-01/orders/:order_id/risks/list`

Returns the custom risk records attached to the specified order, paginated via cursor. Each page contains up to page_size records (1-100, default 10); pass the cursor from the previous response to fetch the next page.

## Request

**Path Parameters**

- `order_id` string (required)

  Order's ID

**Query Parameters**

- `page` int32

  Page number
- `per_page` int32

  Limit per page

## Responses

**200 | 404**

200

**application/json**

**Schema | Example | Result**

**Schema**

- `total` integer

  **Default value:** `0`

  **Example:** `4`
- `risks` object[]

  *   Array [

  - `id` string

    **Example:** `372997190408224746`
  - `order_id` string

    **Example:** `633130-00000015`
  - `level` string

    **Example:** `low`
  - `value` string[]
  - `properties` object

    - `key` string

      **Example:** `value`
  - `created_at` string

    **Example:** `2024-04-25T06:37:40Z`
  - `updated_at` string

    **Example:** `2024-04-25T06:37:40Z`
  *   ]

```json
{
  "total": 4,
  "risks": [
    {
      "id": "372997190408224746",
      "order_id": "633130-00000015",
      "level": "low",
      "value": [
        "wrong order price"
      ],
      "properties": {
        "key": "value"
      },
      "created_at": "2024-04-25T06:37:40Z",
      "updated_at": "2024-04-25T06:37:40Z"
    }
  ]
}
```

```json
{
  "total": 4,
  "risks": [
    {
      "id": "372997190408224746",
      "order_id": "633130-00000015",
      "level": "low",
      "value": [
        "wrong order price"
      ],
      "properties": {
        "key": "value"
      },
      "created_at": "2024-04-25T06:37:40Z",
      "updated_at": "2024-04-25T06:37:40Z"
    }
  ]
}
```

404

**application/json**

**Schema | Example | Result**

**Schema**

- `errors` string[]

```json
{
  "errors": [
    "Unable to find resource"
  ]
}
```

```json
{
  "errors": [
    "Unable to find resource"
  ]
}
```
