订单查询
跨产品线查询订单:动态、静态、服务器统一在一张表里,按订单号、产品名、类型筛选。
接口信息
GET /api/iplt/client/order/orderList
认证方式:API Key(x-merchant-code + x-merchant-token)
请求头
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| x-merchant-token | 是 | String | 商户令牌(API Key 的 token 部分) |
| x-merchant-code | 是 | String | 商户代码(API Key 的 code 部分) |
| Content-Type | 否 | String | 固定 application/json(POST/PUT 必填) |
请求参数(Query)
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| pageNum | 否 | Integer | 页码,默认 1 |
| pageSize | 否 | Integer | 每页条数,默认 10,上限 500 |
| orderNo | 否 | String | 订单号精确匹配 |
| productName | 否 | String | 产品名筛选 |
| productType | 否 | Integer | 1 动态,2 静态,3 服务器 |
| domain | 否 | String | 业务域名筛选 |
响应示例
{
"total": 2,
"rows": [
{
"id": 207,
"orderNo": "N2025072211271232584",
"productName": "Static Regular",
"productType": 2,
"quantity": 1,
"totalAmount": 15.0000,
"tenantAmount": 15.0000,
"couponId": null,
"couponDiscountAmount": 0.0000,
"originalAmount": 15.0000,
"currency": "USD",
"status": 10,
"paidStatus": 10,
"payMethod": "BALANCE",
"createTime": "2025-07-22 11:19:40",
"remark": null,
"orderItems": []
}
],
"code": 200,
"msg": "查询成功"
}
响应参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| orderNo | String | 订单号 |
| productName | String | 产品名称 |
| productType | Integer | 1 动态,2 静态,3 服务器 |
| quantity | Integer | 数量 |
| totalAmount | Decimal | 实付金额 |
| originalAmount | Decimal | 原价 |
| couponId / couponDiscountAmount | Long / Decimal | 优惠券与优惠金额 |
| currency | String | 币种 |
| status | Integer | 订单状态 |
| paidStatus | Integer | 支付状态:10 未支付 |
| payMethod | String | 支付方式 |
| orderItems | Array | 静态订单的 IP 明细;其它类型为空数组 |
说明静态订单(
productType=2)会额外返回 orderItems,含 IP、端口、账号、生效与到期时间。