跳到主要内容
版本:202506

查询订单数量

GET 

/openapi/2025-06/orders/count

返回符合指定查询条件的订单总数。

请求

Query参数

    created_at_min string

    最早创建时间

    created_at_max string

    最晚创建时间

    updated_at_min string

    最早更新时间

    updated_at_max string

    最晚更新时间

    status string

    按订单状态过滤:

    • opened: 待支付
    • cancelled: 已取消
    • placed: 进行中
    • finished: 已完成
    fulfillment_status string

    按订单物流状态过滤:

    • initialled: 初始
    • waiting: 待发货
    • partially_shipped: 部分发货
    • shipped: 全部发货
    • partially_finished: 部分收货
    • finished: 全部收货
    • cancelled: 已取消
    • returning: 退货中
    • partially_returned: 部分退货
    • returned: 全部退货
    financial_status string

    按支付状态过滤:

    • waiting: 待支付
    • paying: 支付审核中
    • authorized: 已授权
    • partially_paid: 部分支付
    • paid: 已支付
    • cancelled: 已取消
    • failed: 支付失败
    • refunding: 退款中
    • refund_failed: 退款失败
    • refunded: 已全退
    • partially_refunded: 部分退

响应

OK

数据结构
    codestring

    错误码

    messagestring

    错误信息

    data object
    countint32

    数量