Refund List Count
GET/openapi/2022-01/orders/refund_records/count
Returns the total number of refund records matching the same filters accepted by the list endpoint. Useful for paging UIs and dashboards.
Request
Query Parameters
Order ids, comma-separated, a maximum of 10 ids are supported,for example, '183211-00000005,183211-00000006'.
Refund record id, comma-separated, A maximum of 20 ids are supported, for example: '396114279473883074,400561078532063170'.
Refund record status, comma-separated, status support: pending, finished, failed
Filter records created at or after date, for example: 2016-01-18T23:41:00Z
Filter records created at or before date, for example: 2016-01-18T23:41:00Z
Filter records last updated at or after date, for example: 2016-01-18T23:41:00Z
Filter records last updated at or before date, for example: 2016-01-18T23:41:00Z
Responses
- 200
- 422
200
- application/json
- Schema
- Example
- Result
Schema
015{
"count": 15
}
{
"count": 15
}
422
- application/json
- Schema
- Example
- Result
Schema
{
"errors": [
"created_at_min time format error"
]
}
{
"errors": [
"created_at_min time format error",
"created_at_max time format error",
"UpdatedAtMin time format error",
"updated_at_end time format error"
]
}