- 登录POST
- 修改密码POST
- 登出POST
- 获取信息GET
- 菜单路由GET
- 公告列表GET
- 公告信息GET
- 证书列表GET
- 获取证书信息GET
- 上传证书POST
- 续订证书POST
- 删除证书DELETE
- 认证信息GET
- 登录邮箱提醒开关POST
- 获取通知设置GET
- 更新通知设置PUT
- 获取通知推送GET
- 更新通知推送PUT
- 主域名列表GET
- 站点统计GET
- 我的订单列表GET
- 我的订单详情GET
- 续费我的订单POST
- 更新订单备注PUT
- 订单升级GET
- 计算订单升级费用POST
- 获取主流量包信息GET
- 获取扩展流量包信息GET
- 充钱POST
- 获取充钱接口GET
- 获取套餐分类GET
- 获取套餐分类信息GET
- 获取套餐组列表GET
- 获取套餐信息GET
- 站点列表GET
- 添加站点POST
- 站点信息GET
- 站点域名更新PUT
- 站点端口更新PUT
- 删除站点DELETE
- 检查域名解析POST
- 申请自动证书POST
- 清理站点缓存POST
- 获取子域名列表GET
- 添加子域名POST
- 删除子域名DELETE
- 站点配置,太复杂没录GET
- 站点信息获取,太复杂没录GET
- 站点黑名单拦截?GET
- 站点黑名单释放?POST
- 缓存预热POST
- 查询缓存预热配额GET
订单升级
开发中
GET
/order/{id}/upgrade
请求参数
Path 参数
id
string
必需
示例值:
406
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/order/406/upgrade'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
object
必需
order
object
必需
product
object
必需
product_list
null
必需
cost
string
必需
request-id
string
必需
示例
{
"code": 0,
"message": "string",
"data": {
"order": {
"id": 0,
"uuid": "string",
"client_id": 0,
"product_id": 0,
"line_group_id": 0,
"another_name": "string",
"port_limit": 0,
"site_limit": 0,
"flow_limit": 0,
"sub_domain_limit": 0,
"net_limit": 0,
"net_conn_limit": 0,
"websocket_enable": true,
"is_edit_port": true,
"reset_date": "string",
"status": "string",
"opening_date": "string",
"expire_date": "string",
"cycle": "string",
"amount": 0,
"notes": null,
"traffic_package": null,
"created_at": "string",
"updated_at": "string"
},
"product": {
"id": 0,
"gid": 0,
"name": "string",
"description": "string",
"hidden": true,
"stock_control": true,
"qty": 0,
"retired": true,
"real_name": true,
"line_group_id": 0,
"port_limit": 0,
"site_limit": 0,
"flow_limit": 0,
"sub_domain_limit": 0,
"net_limit": 0,
"net_conn_limit": 0,
"websocket_enable": true,
"is_edit_port": true,
"monthly_price": 0,
"quarterly_price": 0,
"semiannually_price": 0,
"annually_price": 0,
"sort": 0,
"created_at": "string",
"updated_at": "string"
},
"product_list": null
},
"cost": "string",
"request-id": "string"
}