Method: accounts.lfpStores.insert
Inserisce un negozio per il commerciante target. Se il negozio con lo stesso codice negozio esiste già, verrà sostituito.
Richiesta HTTP
POST https://merchantapi.googleapis.com/lfp/v1beta/{parent=accounts/*}/lfpStores:insert
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
parent |
string
Obbligatorio. Formato dell'account del fornitore LFP: accounts/{account}
|
Corpo della richiesta
Il corpo della richiesta contiene un'istanza di LfpStore
.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di LfpStore
.
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/content
Per ulteriori informazioni, consulta la sezione OAuth 2.0 Overview.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-01-23 UTC.
[null,null,["Ultimo aggiornamento 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."]]],["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"]]