版本:202201
查询订单数量
GET/openapi/2022-01/orders/count
返回符合指定查询条件的订单总数。
请求
Query参数
- opened: 待支付。
- cancelled: 已取消。
- placed: 进行中。
- finished: 已完成。
- waiting: 待支付。
- paying: 支付审核中。
- authorized: 已授权。
- partially_paid: 部分支付。
- paid: 已支付。
- cancelled: 已取消。
- failed: 支付失败。
- refunding: 退款中。
- refund_failed: 退款失败。
- refunded: 已全退。
- partially_refunded: 部分退。
- initialled: 初始。
- waiting: 待发货。
- partially_shipped: 部分发货。
- shipped: 全部发货。
- partially_finished: 部分收货。
- finished: 全部收货。
- cancelled: 已取消。
- returning: 退货中。
- partially_returned: 部分退货。
- returned: 全部退货。
created_at_min string
最早创建时间。
created_at_max string
最晚创建时间。
updated_at_min string
最早更新时间。
updated_at_max string
最晚更新时间。
status string
按订单状态过滤。
financial_status string
按支付状态过滤。
fulfillment_status string
按订单物流状态过滤。
响应
- 200
- 422
200
- application/json
- 数据结构
- 示例
- Result
数据结构
countinteger
默认值:
0示例:
7{
"count": 7
}
{
"count": 7
}
422
- application/json
无 Schema