Method: accounts.lfpStores.insert
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
লক্ষ্য ব্যবসায়ীর জন্য একটি দোকান সন্নিবেশ করান। যদি একই স্টোর কোড সহ স্টোরটি ইতিমধ্যেই বিদ্যমান থাকে তবে এটি প্রতিস্থাপন করা হবে।
HTTP অনুরোধ
POST https://merchantapi.googleapis.com/lfp/v1beta/{parent=accounts/*}/lfpStores:insert
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
parent | string প্রয়োজন। LFP প্রদানকারী অ্যাকাউন্ট ফর্ম্যাট: accounts/{account} |
শরীরের অনুরোধ
অনুরোধের মূল অংশে LfpStore
এর একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে LfpStore
এর একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/content
আরো তথ্যের জন্য, দেখুনOAuth 2.0 Overview .
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-01-23 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-01-23 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eInserts or replaces a store for the target merchant using the provided store code.\u003c/p\u003e\n"],["\u003cp\u003eRequires \u003ccode\u003ehttps://www.googleapis.com/auth/content\u003c/code\u003e authorization scope for access.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes an HTTP POST request to \u003ccode\u003ehttps://merchantapi.googleapis.com/lfp/v1beta/{parent=accounts/*}/lfpStores:insert\u003c/code\u003e with the LFP provider account in the path parameter.\u003c/p\u003e\n"],["\u003cp\u003eIncludes the store details in the request body as an instance of \u003ccode\u003eLfpStore\u003c/code\u003e and returns the created/updated store in the response body.\u003c/p\u003e\n"]]],["A `POST` request is made to `https://merchantapi.googleapis.com/lfp/v1beta/{parent=accounts/*}/lfpStores:insert` to insert a store for a merchant, replacing existing stores with the same code. The `parent` path parameter, in the format `accounts/{account}`, is required. The request body must contain an `LfpStore` instance. A successful response will also return an `LfpStore` instance. This operation requires the `https://www.googleapis.com/auth/content` OAuth scope.\n"],null,["# Method: accounts.lfpStores.insert\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nInserts a store for the target merchant. If the store with the same store code already exists, it will be replaced.\n\n### HTTP request\n\n`POST https://merchantapi.googleapis.com/lfp/v1beta/{parent=accounts/*}/lfpStores:insert`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|--------------------------------------------------------------------------|\n| `parent` | `string` Required. The LFP provider account Format: `accounts/{account}` |\n\n### Request body\n\nThe request body contains an instance of [LfpStore](/merchant/api/reference/rest/lfp_v1beta/accounts.lfpStores#LfpStore).\n\n### Response body\n\nIf successful, the response body contains an instance of [LfpStore](/merchant/api/reference/rest/lfp_v1beta/accounts.lfpStores#LfpStore).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/content`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]