List Orders

订单列表(分页,可按状态过滤),按 id 倒序 = 最新在前。

status 过滤逻辑收在 _apply_order_filters,保证 total 与列表口径一致。 用户邮箱用一次 IN 查询批量取回再在内存里映射,避免逐单查 User(N+1)。 订单可能没有 user_id(游客单/后台代下单),所以先过滤 falsy 再 IN。

get/admin/orders

Request

  • Base URL: https://api.twtapi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.twtapi.com/admin/orders
  • Auth: none declared

Query parameters

pageinteger
sizeinteger
statusstring nullable

pending | paid | cancelled

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.