Method: accounts.lfpStores.insert

  • 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.

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

string

Required. The LFP provider account Format: accounts/{account}

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.