Method: accounts.lfpInventories.insert
दिए गए टारगेट किए गए मर्चेंट खाते के लिए, LfpInventory
संसाधन डालता है. अगर संसाधन पहले से मौजूद है, तो उसे बदल दिया जाएगा. इन्वेंट्री 30 दिनों के बाद अपने-आप खत्म हो जाती है.
एचटीटीपी अनुरोध
POST https://merchantapi.googleapis.com/lfp/v1beta/{parent=accounts/*}/lfpInventories:insert
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
parent |
string
ज़रूरी है. एलएफ़पी की सेवा देने वाली कंपनी का खाता. फ़ॉर्मैट: accounts/{account}
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में LfpInventory
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में LfpInventory
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/content
ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-01-23 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-01-23 (UTC) को अपडेट किया गया."],[[["Inserts or replaces an `LfpInventory` resource for a given merchant account, with automatic 30-day expiration."],["Uses a POST request to the specified URL with path parameter indicating the target account."],["Requires an `LfpInventory` object in the request body and returns the same in the response upon success."],["Needs authorization with the `https://www.googleapis.com/auth/content` scope."]]],["This describes the process of inserting a `LfpInventory` resource for a merchant account via an HTTP POST request. The request URL includes a required `parent` path parameter specifying the provider account. The request body must contain an `LfpInventory` instance, and a successful response also returns an `LfpInventory` instance. The process utilizes gRPC Transcoding, and requires the `https://www.googleapis.com/auth/content` OAuth scope for authorization. Existing resources will be replaced, and inventories expire after 30 days.\n"]]