Method: accounts.lfpStores.insert
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Hedef satıcı için bir mağaza ekler. Aynı mağaza koduna sahip bir mağaza zaten varsa bu mağaza değiştirilir.
HTTP isteği
POST https://merchantapi.googleapis.com/lfp/v1beta/{parent=accounts/*}/lfpStores:insert
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
parent |
string
Zorunlu. LFP sağlayıcı hesabı biçimi: accounts/{account}
|
İstek içeriği
İstek metni, LfpStore
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılıysa yanıt metni, LfpStore
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/content
Daha fazla bilgi için OAuth 2.0 Overview sayfasına bakın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-01-23 UTC.
[null,null,["Son güncelleme tarihi: 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)."]]