版本:202201
查询订单风险记录列表
GET/openapi/2022-01/orders/:order_id/risks/list
返回指定订单上的自定义风险记录列表,使用 cursor 分页,每页最多 page_size 条 (1-100,默认 10);翻页时传入上一次响应中的 cursor。
请求
Path参数
order_id string必填
订单 ID。
Query参数
page int32
Page number
per_page int32
Limit per page
响应
- 200
- 404
200
- application/json
- 数据结构
- 示例
- Result
数据结构
- Array [
- ]
totalinteger
默认值:
0示例:
4risks object[]
idstring
示例:
372997190408224746order_idstring
示例:
633130-00000015levelstring
示例:
lowvaluestring[]
properties object
keystring
示例:
valuecreated_atstring
示例:
2024-04-25T06:37:40Zupdated_atstring
示例:
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
- 数据结构
- 示例
- Result
数据结构
errorsstring[]
{
"errors": [
"Unable to find resource"
]
}
{
"errors": [
"Unable to find resource"
]
}