AI-generated Key Takeaways
-
Inserts or replaces a store for the target merchant using the provided store code.
-
Requires
https://www.googleapis.com/auth/contentauthorization scope for access. -
Utilizes an HTTP POST request to
https://merchantapi.googleapis.com/lfp/v1beta/{parent=accounts/*}/lfpStores:insertwith the LFP provider account in the path parameter. -
Includes the store details in the request body as an instance of
LfpStoreand returns the created/updated store in the response body.
Inserts a store for the target merchant. If the store with the same store code already exists, it will be replaced.
HTTP request
POST https://merchantapi.googleapis.com/lfp/v1beta/{parent=accounts/*}/lfpStores:insert
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The LFP provider account Format: |
Request body
The request body contains an instance of LfpStore.
Response body
If successful, the response body contains an instance of LfpStore.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.