Method: accounts.lfpStores.delete

  • This operation deletes a specified store for a target merchant using an HTTP DELETE request.

  • The request requires a path parameter to identify the target store using the format: accounts/{account}/lfpStores/{target_merchant}~{storeCode}.

  • An empty request body is necessary, and a successful deletion results in an empty JSON response.

  • Authorization is required using the https://www.googleapis.com/auth/content OAuth scope.

Deletes a store for a target merchant.

HTTP request

DELETE https://merchantapi.googleapis.com/lfp/v1beta/{name=accounts/*/lfpStores/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the store to delete for the target merchant account. Format: accounts/{account}/lfpStores/{target_merchant}~{storeCode}

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.