Skip to main content
Version: 202201

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 string

    Order ids, comma-separated, a maximum of 10 ids are supported,for example, '183211-00000005,183211-00000006'.

    refund_record_ids string

    Refund record id, comma-separated, A maximum of 20 ids are supported, for example: '396114279473883074,400561078532063170'.

    refund_status string

    Refund record status, comma-separated, status support: pending, finished, failed

    created_at_start string

    Filter records created at or after date, for example: 2016-01-18T23:41:00Z

    created_at_end string

    Filter records created at or before date, for example: 2016-01-18T23:41:00Z

    updated_at_start string

    Filter records last updated at or after date, for example: 2016-01-18T23:41:00Z

    updated_at_end string

    Filter records last updated at or before date, for example: 2016-01-18T23:41:00Z

Responses

200

Schema
    countinteger
    Default value: 0
    Example: 15