Method: inappproducts.patch
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ऐप्लिकेशन में खरीदने के लिए उपलब्ध प्रॉडक्ट (मैनेज्ड प्रॉडक्ट या सदस्यता) को पैच करता है.
सदस्यताएं अपडेट करने के लिए, अब इस तरीके का इस्तेमाल नहीं किया जाना चाहिए. ज़्यादा जानकारी के लिए यह लेख पढ़ें.
एचटीटीपी अनुरोध
PATCH https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts/{sku}
यूआरएल, gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
packageName |
string
ऐप्लिकेशन का पैकेज नाम.
|
sku |
string
इन-ऐप्लिकेशन प्रॉडक्ट के लिए यूनीक आइडेंटिफ़ायर.
|
क्वेरी पैरामीटर
पैरामीटर |
autoConvertMissingPrices |
boolean
अगर पैरंट ऐप्लिकेशन के ज़रिए टारगेट किए गए सभी क्षेत्रों के लिए कीमतें सही हों, जिनमें इस इन-ऐप्लिकेशन प्रॉडक्ट की कीमत तय नहीं है, तो डिफ़ॉल्ट कीमत के आधार पर टारगेट मुद्रा में अपने-आप बदल दिया जाएगा. डिफ़ॉल्ट तौर पर, यह 'गलत' पर सेट होती है.
|
latencyTolerance |
enum (ProductUpdateLatencyTolerance )
ज़रूरी नहीं. इस प्रॉडक्ट से जुड़े अपडेट को लागू करने में लगने वाले समय की कम से कम सीमा. डिफ़ॉल्ट रूप से, यह वैल्यू 'इंतज़ार का समय' पर सेट होती है.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में InAppProduct
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में InAppProduct
का एक इंस्टेंस शामिल किया जाता है.
अनुमति देने के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/androidpublisher
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["This operation patches an in-app product, either a managed product or a subscription, within a specified app."],["It involves providing the package name and product's unique identifier (SKU) as path parameters."],["Developers can optionally control auto-conversion of missing prices and update propagation latency using query parameters."],["The request and successful response both utilize the `InAppProduct` object for data transfer."],["Authorization requires the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This API patches in-app products, including managed products and subscriptions, via a `PATCH` HTTP request to a specified URL. The URL requires the app's `packageName` and the product's `sku` as path parameters. Optional query parameters, `autoConvertMissingPrices` and `latencyTolerance`, are available. The request and response body use the `InAppProduct` instance. This process needs `https://www.googleapis.com/auth/androidpublisher` OAuth scope. Note that updating subscriptions through this method is deprecated.\n"]]