Method: monetization.subscriptions.basePlans.deactivate
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Temel planı devre dışı bırakır. Temel plan devre dışı bırakıldığında yeni aboneler tarafından kullanılamaz ancak mevcut aboneler aboneliklerini sürdürür
HTTP isteği
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:deactivate
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
packageName |
string
Zorunlu. Devre dışı bırakılacak temel planın üst uygulaması (paket adı).
|
productId |
string
Zorunlu. Devre dışı bırakılacak temel planın üst aboneliği (ID).
|
basePlanId |
string
Zorunlu. Devre dışı bırakılacak temel planın benzersiz temel plan kimliği.
|
İstek içeriği
İstek gövdesi, aşağıdaki yapıya sahip verileri içerir:
Alanlar |
latencyTolerance |
enum (ProductUpdateLatencyTolerance )
İsteğe bağlı. Bu ürün güncellemesinin yayılmasına ilişkin gecikme toleransı. Varsayılan olarak gecikmeye duyarlıdır.
|
Yanıt gövdesi
Başarılıysa yanıt metni, Subscription
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/androidpublisher
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-05-21 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-05-21 UTC."],[[["Deactivates a base plan, making it unavailable to new subscribers while existing subscribers retain access."],["Requires a POST request to a specific endpoint with package name, product ID, and base plan ID as path parameters."],["Optionally accepts a request body specifying the latency tolerance for the product update propagation."],["Upon success, the response returns a Subscription object."],["Needs authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document details the process for deactivating a base plan for an Android app subscription. The key action is a `POST` HTTP request to a specified URL, including `packageName`, `productId`, and `basePlanId` as required path parameters. The request body can optionally include a `latencyTolerance` field. Upon successful deactivation, existing subscribers maintain their subscriptions. The response body returns an instance of `Subscription`. This operation requires the `https://www.googleapis.com/auth/androidpublisher` OAuth scope.\n"]]