Method: accounts.lfpSales.insert

  • Inserts a Local Free Product (LFP) sale for a specified merchant.

  • Utilizes an HTTP POST request to https://merchantapi.googleapis.com/lfp/v1beta/{parent=accounts/*}/lfpSales:insert.

  • Requires the https://www.googleapis.com/auth/content OAuth scope for authorization.

  • Request and response bodies utilize the LfpSale object for data transfer.

Inserts a LfpSale for the given merchant.

HTTP request

POST https://merchantapi.googleapis.com/lfp/v1beta/{parent=accounts/*}/lfpSales:insert

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

Request body

The request body contains an instance of LfpSale.

Response body

If successful, the response body contains an instance of LfpSale.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.