Method: monetization.subscriptions.basePlans.deactivate

透過集合功能整理內容 你可以依據偏好儲存及分類內容。

停用基本方案。基本方案停用後,新訂閱者將無法使用基本方案,但現有的訂閱者仍會保有訂閱狀態

HTTP 要求

POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:deactivate

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
packageName

string

必要,要停用的基本方案的父項應用程式 (套件名稱)。

productId

string

必要,要停用基本方案的父項訂閱項目 (ID)。

basePlanId

string

必要,要停用的基本方案的專屬基本方案 ID。

要求主體

要求主體必須為空白。

回應主體

如果成功,回應主體會包含 Subscription 的執行例項。

授權範圍

需要下列 OAuth 範圍:

  • https://www.googleapis.com/auth/androidpublisher