Method: pos.get

  • Retrieves information for a given store using a GET request.

  • Requires merchantId, targetMerchantId, and storeCode as path parameters.

  • An empty request body is necessary, and the response provides details about the store in the PosStore format.

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

Retrieves information about the given store.

HTTP request

GET 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 contains an instance of PosStore.

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the OAuth 2.0 Overview.