Version: 202506
List order risk records
GET/openapi/2025-06/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 stringrequired
Order ID
Query Parameters
cursor string
Cursor for pagination
page_size int32
Page size (1-100, default 10)
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
- Array [
low: low riskmedium: medium riskhigh: high risk- ]
codestring
error code
messagestring
error message
data object
risks object[]
List of order risk records
idstring
Order risk record ID
order_idstring
Identifier of the order this risk record is associated with
levelstring
Risk level of the order:
detailsstring[]
List of risk detail reasons explaining why the risk was flagged
properties object
Custom properties associated with the order risk, as key-value pairs
property name*string
created_atstring
Time when the risk record was created (e.g., 2018-11-02T12:30:10Z)
updated_atstring
Time when the risk record was last updated (e.g., 2018-11-02T12:30:10Z)
cursorstring
Cursor for pagination
has_moreboolean
Whether there are more records
{
"code": "string",
"message": "string",
"data": {
"risks": [
{
"id": "string",
"order_id": "string",
"level": "string",
"details": [
"string"
],
"properties": {},
"created_at": "string",
"updated_at": "string"
}
],
"cursor": "string",
"has_more": true
}
}