Method: monetization.subscriptions.basePlans.offers.delete
Usuwa ofertę subskrypcji. Można to zrobić tylko w przypadku wersji roboczych ofert. Tej czynności nie można cofnąć.
Żądanie HTTP
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
packageName |
string
Wymagane. Aplikacja nadrzędna (nazwa pakietu) oferty, którą chcesz usunąć.
|
productId |
string
Wymagane. Identyfikator subskrypcji nadrzędnej oferty, którą chcesz usunąć.
|
basePlanId |
string
Wymagane. Identyfikator abonamentu podstawowego nadrzędnego (ID) oferty do usunięcia.
|
offerId |
string
Wymagane. Unikalny identyfikator oferty, którą chcesz usunąć.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi to pusty obiekt JSON.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/androidpublisher
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-12-18 UTC.
[null,null,["Ostatnia aktualizacja: 2024-12-18 UTC."],[[["Permanently deletes a draft subscription offer, an irreversible action."],["Requires specifying the package name, product ID, base plan ID, and offer ID in the request URL."],["The request body should be empty, and a successful deletion results in an empty response body."],["Authorization necessitates the `https://www.googleapis.com/auth/androidpublisher` OAuth scope."]]],["The core content details deleting a subscription offer via a `DELETE` HTTP request to a specific URL. This action requires providing the `packageName`, `productId`, `basePlanId`, and `offerId` as path parameters in the URL. The request body must be empty. A successful deletion results in an empty JSON object response. This is irreversible, and only draft offers can be deleted using the specified authorization scope: `https://www.googleapis.com/auth/androidpublisher`.\n"]]