Method: monetization.subscriptions.archive
काम नहीं करता: सदस्यता को संग्रहित करने की सुविधा काम नहीं करती.
एचटीटीपी अनुरोध
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}:archive
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
packageName |
string
ज़रूरी है. जिस सदस्यता को मिटाना है उसके ऐप्लिकेशन का पैरंट ऐप्लिकेशन (पैकेज का नाम).
|
productId |
string
ज़रूरी है. जिस सदस्यता को मिटाना है उसका यूनीक प्रॉडक्ट आईडी.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में Subscription
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/androidpublisher
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-12-17 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-12-17 (UTC) को अपडेट किया गया."],[[["This request archives a subscription for a specific app and product ID."],["It requires providing the package name and product ID as path parameters."],["The request body should be empty, and a successful response returns the subscription details."],["It's important to note that subscription archiving is deprecated and not supported."],["Authorization is needed using the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document details the process of archiving a subscription via a POST request to a specific URL. The request requires `packageName` and `productId` path parameters. The HTTP request utilizes gRPC Transcoding. The request body must be empty. A successful operation returns a `Subscription` instance in the response body. The `androidpublisher` OAuth scope is necessary for authorization. Note that subscription archiving is deprecated.\n"]]