Method: monetization.subscriptions.basePlans.offers.deactivate
Koleksiyonlar ile düzeninizi koruyun İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Abonelik teklifini devre dışı bırakır. Devre dışı bırakılan mevcut abonelerin abonelikleri devam eder, ancak teklif yeni aboneler tarafından kullanılamaz.
HTTP isteği
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}:deactivate
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
packageName | string Zorunlu. Devre dışı bırakılacak teklifin üst uygulaması (paket adı). |
productId | string Zorunlu. Devre dışı bırakılacak teklifin üst aboneliği (ID). |
basePlanId | string Zorunlu. Devre dışı bırakılacak teklifin üst temel planı (kimlik). |
offerId | string Zorunlu. Devre dışı bırakılacak teklifin benzersiz teklif 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, SubscriptionOffer
öğ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-07-26 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-07-26 UTC."],[[["Deactivates a subscription offer, preventing new subscriptions while existing ones remain active."],["Sends a POST request to the specified URL with necessary path parameters like package name, product ID, base plan ID, and offer ID."],["Optionally includes a request body specifying the latency tolerance for the update."],["Upon success, returns a SubscriptionOffer object in the response body."],["Requires authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This API call deactivates a subscription offer for an Android app. It uses a `POST` request to a specific URL, incorporating the app's package name, subscription ID, base plan ID, and offer ID as required path parameters. The request body, in JSON format, allows for specifying `latencyTolerance`. A successful request returns data of `SubscriptionOffer`, and requires the `https://www.googleapis.com/auth/androidpublisher` OAuth scope for authorization. The deactivation makes the offer unavailable to new subscribers.\n"]]