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} |
target Account | string ( int64 format) প্রয়োজন। যে বণিকের জন্য ইনভেন্টরি জমা দিতে হবে তার মার্চেন্ট সেন্টার আইডি। |
store Code | string প্রয়োজন। ব্যবসায়ীর দোকানের শনাক্তকারী। হয় InsertLfpStore মাধ্যমে ঢোকানো স্টোর কোড অথবা ব্যবসার প্রোফাইলে স্টোর কোড। |
offer Id | string প্রয়োজন। অপরিবর্তনীয়। পণ্যের জন্য একটি অনন্য শনাক্তকারী। যদি কোনও বণিকের জন্য ইনভেন্টরি এবং বিক্রয় উভয়ই জমা দেওয়া হয়, তাহলে এই আইডিটি একই পণ্যের জন্য মেলে। দ্রষ্টব্য : যদি বণিক একই পণ্য নতুন এবং ব্যবহৃত বিক্রি করে, তাদের আলাদা আইডি থাকতে হবে। |
region Code | string প্রয়োজন। যে দেশে পণ্য বিক্রি করা হয় সেই দেশের জন্য CLDR টেরিটরি কোড । |
content Language | string প্রয়োজন। আইটেমটির জন্য দুই-অক্ষরের ISO 639-1 ভাষার কোড। |
price | object ( Price ) ঐচ্ছিক। পণ্যের বর্তমান মূল্য। |
availability | string প্রয়োজন। এই দোকানে পণ্যের প্রাপ্যতা. স্বীকৃত বৈশিষ্ট্যের মানগুলির জন্য, স্থানীয় পণ্য ইনভেন্টরি ডেটা স্পেসিফিকেশন দেখুন |
collection Time | string ( Timestamp format) ঐচ্ছিক। যে সময় জায় সংগ্রহ করা হয়। সেট করা না থাকলে, ইনভেন্টরি জমা দেওয়ার সময় এটি সেট করা হবে। |
gtin | string ঐচ্ছিক। পণ্যের গ্লোবাল ট্রেড আইটেম নম্বর। |
quantity | string ( int64 format) ঐচ্ছিক। এই দোকানে উপলব্ধ পণ্য পরিমাণ. শূন্যের চেয়ে বড় বা সমান হতে হবে। |
pickup Method | string ঐচ্ছিক। এই অফারের জন্য সমর্থিত পিকআপ পদ্ধতি। মানটি "সমর্থিত নয়" না হলে, এই ক্ষেত্রটিকে অবশ্যই pickupSla এর সাথে জমা দিতে হবে। স্বীকৃত বৈশিষ্ট্যের মানগুলির জন্য, স্থানীয় পণ্য ইনভেন্টরি ডেটা স্পেসিফিকেশন দেখুন। |
pickup Sla | string ঐচ্ছিক। প্রত্যাশিত তারিখ যে অর্ডার তারিখের সাথে সম্পর্কিত একটি অর্ডার পিকআপের জন্য প্রস্তুত হবে। pickupMethod সাথে একসাথে জমা দিতে হবে। স্বীকৃত বৈশিষ্ট্যের মানগুলির জন্য, স্থানীয় পণ্য ইনভেন্টরি ডেটা স্পেসিফিকেশন দেখুন। |
feed Label | string ঐচ্ছিক। পণ্যের জন্য ফিড লেবেল . এটি সেট করা না থাকলে, এটি ডিফল্ট হবে regionCode এ। |
পদ্ধতি |
---|
| প্রদত্ত লক্ষ্য বণিক অ্যাকাউন্টের জন্য একটি LfpInventory সংস্থান সন্নিবেশ করায়৷ |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
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. |"]]