REST Resource: accounts.lfpInventories
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
रिसॉर्स: LfpInventory
कारोबारी या कंपनी के लिए स्थानीय इन्वेंट्री.
JSON के काेड में दिखाना |
{
"name": string,
"targetAccount": string,
"storeCode": string,
"offerId": string,
"regionCode": string,
"contentLanguage": string,
"price": {
object (Price )
},
"availability": string,
"collectionTime": string,
"gtin": string,
"quantity": string,
"pickupMethod": string,
"pickupSla": string,
"feedLabel": string
} |
फ़ील्ड |
name |
string
सिर्फ़ आउटपुट के लिए. आइडेंटिफ़ायर. LfpInventory संसाधन का नाम. फ़ॉर्मैट: accounts/{account}/lfpInventories/{target_merchant}~{storeCode}~{offer}
|
targetAccount |
string (int64 format)
ज़रूरी है. उस व्यापारी/कंपनी/कारोबारी का Merchant Center आईडी जिसके लिए इन्वेंट्री सबमिट करनी है.
|
storeCode |
string
ज़रूरी है. कारोबारी या कंपनी के स्टोर का आइडेंटिफ़ायर. InsertLfpStore से डाला गया स्टोर कोड या Business Profile में मौजूद स्टोर कोड.
|
offerId |
string
ज़रूरी है. इम्यूटेबल. प्रॉडक्ट का यूनीक आइडेंटिफ़ायर. अगर किसी व्यापारी/कंपनी/कारोबारी के लिए इन्वेंट्री और बिक्री, दोनों सबमिट की जाती हैं, तो यह आईडी एक ही प्रॉडक्ट के लिए मेल खाना चाहिए. ध्यान दें: अगर मर्चेंट एक ही प्रॉडक्ट को नए और इस्तेमाल किए गए के तौर पर बेचता है, तो उनके लिए अलग-अलग आईडी होने चाहिए.
|
regionCode |
string
ज़रूरी है. उस देश के लिए इलाके का CLDR कोड जहां प्रॉडक्ट बेचा जाता है.
|
contentLanguage |
string
ज़रूरी है. आइटम के लिए, ISO 639-1 के मुताबिक दो अक्षरों वाला भाषा कोड.
|
price |
object (Price )
ज़रूरी नहीं. प्रॉडक्ट की मौजूदा कीमत.
|
availability |
string
ज़रूरी है. इस स्टोर में प्रॉडक्ट की उपलब्धता. स्वीकार की गई एट्रिब्यूट वैल्यू के लिए, स्थानीय प्रॉडक्ट इन्वेंट्री डेटा स्पेसिफ़िकेशन देखें
|
collectionTime |
string (Timestamp format)
ज़रूरी नहीं. इन्वेंट्री इकट्ठा करने का समय. अगर यह सेट नहीं किया गया है, तो इसे इन्वेंट्री सबमिट करने के समय पर सेट कर दिया जाएगा.
|
gtin |
string
ज़रूरी नहीं. प्रॉडक्ट का ग्लोबल ट्रेड आइटम नंबर.
|
quantity |
string (int64 format)
ज़रूरी नहीं. इस स्टोर में उपलब्ध प्रॉडक्ट की संख्या. यह वैल्यू 0 से ज़्यादा या उसके बराबर होनी चाहिए.
|
pickupMethod |
string
ज़रूरी नहीं. इस ऑफ़र के लिए, पिकअप का तरीका. अगर वैल्यू "काम नहीं करती" नहीं है, तो इस फ़ील्ड को pickupSla के साथ सबमिट करना ज़रूरी है. स्वीकार की गई एट्रिब्यूट वैल्यू के लिए, स्थानीय प्रॉडक्ट इन्वेंट्री डेटा स्पेसिफ़िकेशन देखें.
|
pickupSla |
string
ज़रूरी नहीं. ऑर्डर होने के समय के आधार पर, वह तारीख बताएं जब ऑर्डर पिकअप के लिए तैयार होगा. इसे pickupMethod के साथ सबमिट करना होगा. स्वीकार की गई एट्रिब्यूट वैल्यू के लिए, स्थानीय प्रॉडक्ट इन्वेंट्री डेटा स्पेसिफ़िकेशन देखें.
|
feedLabel |
string
ज़रूरी नहीं. प्रॉडक्ट के लिए फ़ीड का लेबल. अगर यह सेट नहीं है, तो डिफ़ॉल्ट रूप से regionCode लागू हो जाएगा.
|
तरीके |
|
दिए गए टारगेट किए गए मर्चेंट खाते के लिए, LfpInventory संसाधन डालता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-11-21 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-11-21 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe LfpInventory resource represents a merchant's local product inventory, including details like price, availability, and quantity.\u003c/p\u003e\n"],["\u003cp\u003eIt requires key identifiers such as targetAccount, storeCode, and offerId to uniquely identify products.\u003c/p\u003e\n"],["\u003cp\u003eMerchants can manage their local product inventory by inserting LfpInventory resources using the \u003ccode\u003einsert\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe resource utilizes standardized codes for region, language, and product identifiers like GTIN for consistency.\u003c/p\u003e\n"],["\u003cp\u003eOptional fields like pickupMethod and pickupSla allow merchants to specify order fulfillment options.\u003c/p\u003e\n"]]],["The `LfpInventory` resource represents a merchant's local product inventory. Key information includes `targetAccount` (merchant ID), `storeCode`, `offerId` (product ID), `regionCode`, and `contentLanguage`. It also contains product details like `price`, `availability`, `gtin`, and `quantity`. Optional data points are `collectionTime`, `pickupMethod`, `pickupSla`, and `feedLabel`. The primary action is the `insert` method, which submits inventory data for a specific merchant account.\n"],null,["# REST Resource: accounts.lfpInventories\n\n- [Resource: LfpInventory](#LfpInventory)\n - [JSON representation](#LfpInventory.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: LfpInventory\n----------------------\n\nLocal Inventory for the merchant.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"targetAccount\": string, \"storeCode\": string, \"offerId\": string, \"regionCode\": string, \"contentLanguage\": string, \"price\": { object (/merchant/api/reference/rest/Shared.Types/Price) }, \"availability\": string, \"collectionTime\": string, \"gtin\": string, \"quantity\": string, \"pickupMethod\": string, \"pickupSla\": string, \"feedLabel\": string } ``` |\n\n| Fields ||\n|-------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. Identifier. The name for the `LfpInventory` resource. Format: `accounts/{account}/lfpInventories/{target_merchant}~{storeCode}~{offer}` |\n| `targetAccount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The Merchant Center ID of the merchant to submit the inventory for. |\n| `storeCode` | `string` Required. The identifier of the merchant's store. Either the store code inserted through `InsertLfpStore` or the store code in the Business Profile. |\n| `offerId` | `string` Required. Immutable. A unique identifier for the product. If both inventories and sales are submitted for a merchant, this id should match for the same product. **Note**: if the merchant sells the same product new and used, they should have different IDs. |\n| `regionCode` | `string` Required. The [CLDR territory code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml) for the country where the product is sold. |\n| `contentLanguage` | `string` Required. The two-letter ISO 639-1 language code for the item. |\n| `price` | `object (`[Price](/merchant/api/reference/rest/Shared.Types/Price)`)` Optional. The current price of the product. |\n| `availability` | `string` Required. Availability of the product at this store. For accepted attribute values, see the [local product inventory data specification](https://support.google.com/merchants/answer/3061342) |\n| `collectionTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Optional. The time when the inventory is collected. If not set, it will be set to the time when the inventory is submitted. |\n| `gtin` | `string` Optional. The Global Trade Item Number of the product. |\n| `quantity` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Optional. Quantity of the product available at this store. Must be greater than or equal to zero. |\n| `pickupMethod` | `string` Optional. Supported pickup method for this offer. Unless the value is \"not supported\", this field must be submitted together with `pickupSla`. For accepted attribute values, see the [local product inventory data specification](https://support.google.com/merchants/answer/3061342). |\n| `pickupSla` | `string` Optional. Expected date that an order will be ready for pickup relative to the order date. Must be submitted together with `pickupMethod`. For accepted attribute values, see the [local product inventory data specification](https://support.google.com/merchants/answer/3061342). |\n| `feedLabel` | `string` Optional. The [feed label](https://developers.google.com/shopping-content/guides/products/feed-labels) for the product. If this is not set, it will default to `regionCode`. |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------------------|--------------------------------------------------------------------------|\n| ### [insert](/merchant/api/reference/rest/lfp_v1beta/accounts.lfpInventories/insert) | Inserts a `LfpInventory` resource for the given target merchant account. |"]]