跳转到内容

查询可购买的包月云手机套餐

Request

返回当前可供调用团队购买的包月云手机商品。

  • 副作用:无。该调用不会占用容量,也不会扣除团队余额。只读,可带退避安全重试。
  • 用途:将返回的 skuId 传给 /api/cloudphone/create。价格单位为美分,当前包月周期为 30 天。
  • 空结果:data 为空数组表示当前没有可用的包月商品。

常见业务错误见 Error Codes。

  • 客户端版本:需要 MoreLogin 桌面客户端 v2.65.0 或更高版本;旧版本客户端不提供此 Local API 路由。
curl -i -X GET \
  http://127.0.0.1:40000/api/cloudphone/monthly/skus

Responses

Request processed; data is an empty array when no monthly product is available

Bodyapplication/json
codeintegerrequired

Business result code; 0 indicates success

Example:0
msgstring or nullrequired

Error message; null when successful

Example:null
requestIdstringrequired

Request ID for troubleshooting

Example:"1d4f3ea968664593860b94b35d4ebf5e"
dataArray of objects(MonthlyCloudPhoneSku)
Response
{ "code": 0, "msg": null, "data": [ { … } ], "requestId": "36d574df5b9e41b5b3c796133ff5a079" }