Method: pos.delete

  • Deletes a specific store for a given merchant using the provided merchant ID, target merchant ID, and store code.

  • Requires an empty request body and returns an empty response body upon successful deletion.

  • Needs authorization with the https://www.googleapis.com/auth/content scope.

  • Utilizes an HTTP DELETE request to https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/pos/{targetMerchantId}/store/{storeCode} with specified path parameters.

Deletes a store for the given merchant.

HTTP request

DELETE https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/pos/{targetMerchantId}/store/{storeCode}

Path parameters

Parameters
merchantId

string

The ID of the POS or inventory data provider.

targetMerchantId

string

The ID of the target merchant.

storeCode

string

A store code that is unique per merchant.

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the OAuth 2.0 Overview.