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 stringrequired
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
- Array [
- ]
totalinteger
Default value:
0Example:
4risks object[]
idstring
Example:
372997190408224746order_idstring
Example:
633130-00000015levelstring
Example:
lowvaluestring[]
properties object
keystring
Example:
valuecreated_atstring
Example:
2024-04-25T06:37:40Zupdated_atstring
Example:
2024-04-25T06:37:40Z{
"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"
}
]
}
{
"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
errorsstring[]
{
"errors": [
"Unable to find resource"
]
}
{
"errors": [
"Unable to find resource"
]
}