Method: accounts.lfpStores.insert
تُدرج متجرًا للتاجر المستهدَف. إذا كان المتجر الذي يحمل رمز المتجر نفسه متوفّرًا، سيتم استبداله.
طلب HTTP
POST https://merchantapi.googleapis.com/lfp/v1beta/{parent=accounts/*}/lfpStores:insert
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المعلمات |
parent |
string
مطلوب. تنسيق حساب مقدّم خدمة "الشراكة في الخلاصات المحلية": accounts/{account}
|
نص الطلب
يحتوي نص الطلب على مثال LfpStore
.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال LfpStore
.
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/content
لمزيد من المعلومات، يُرجى الاطّلاع على OAuth 2.0 Overview.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-01-23 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-01-23 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Inserts or replaces a store for the target merchant using the provided store code."],["Requires `https://www.googleapis.com/auth/content` authorization scope for access."],["Utilizes an HTTP POST request to `https://merchantapi.googleapis.com/lfp/v1beta/{parent=accounts/*}/lfpStores:insert` with the LFP provider account in the path parameter."],["Includes the store details in the request body as an instance of `LfpStore` and returns the created/updated store in the response body."]]],["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"]]