Version: 202201
Order Risk Detail
GET/openapi/2022-01/orders/:order_id/risks/:id
Retrieves a single risk record on the order by its id, including risk level, detail reasons, custom properties, and create/update times.
Request
Path Parameters
order_id stringrequired
Order's ID
id stringrequired
Risk's ID
Responses
- 200
- 404
- 422
200
- application/json
- Schema
- Example
- Result
Schema
risk 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{
"risk": {
"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"
}
}
{
"risk": {
"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": [
"Record not found"
]
}
{
"errors": [
"Record not found"
]
}
422
- application/json
- Schema
- Example
- Result
Schema
errorsstring[]
{
"errors": [
"ID format error"
]
}
{
"errors": [
"ID format error"
]
}