Method: accounts.lfpStores.insert
Wstawia sklep docelowego sprzedawcy. Jeśli sklep o tym samym kodzie już istnieje, zostanie zastąpiony.
Żądanie HTTP
POST https://merchantapi.googleapis.com/lfp/v1beta/{parent=accounts/*}/lfpStores:insert
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
parent |
string
Wymagane. Format konta dostawcy danych o asortymencie lokalnym: accounts/{account}
|
Treść żądania
Treść żądania zawiera wystąpienie elementu LfpStore
.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu LfpStore
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/content
Więcej informacji znajdziesz w OAuth 2.0 Overview.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-01-23 UTC.
[null,null,["Ostatnia aktualizacja: 2025-01-23 UTC."],[[["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."]]],[]]