---
title: "My Orders"
method: GET
path: "/myapi/orders"
---

# My Orders

`GET /myapi/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/myapi/orders`
- Auth: none declared

Return paginated order history for the current user.

中文：当前用户的订单分页列表（/orders）。

参数:
    page/size: 页码（从 1 开始）与每页条数，size 上限 100，防止一次拉全表。
    lang: 文案语言，用于把失败原因翻译成对应语种。

返回:
    total/page/size/items。每项除订单原始字段外，还额外带两个字段：
    status_reason_code（机器可读）与 status_reason（已本地化文案）。

副作用:
    只读数据库；另有一次 count 查询用于分页总数。

## Query parameters

- `page` integer
- `size` integer
- `lang` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/twtapi/apis/twtapi-backend.md) · [All operations](https://skmtc.dev/twtapi/apis/twtapi-backend/llms.txt) · [OpenAPI document](https://skmtc.dev/twtapi/apis/twtapi-backend/revisions/5295976febaf?raw)
