AI-generated Key Takeaways
- 
          Sets the Point of Sale (POS) data provider for a specific country and account. 
- 
          Requires the merchant ID, account ID, country, POS data provider ID, and POS external account ID. 
- 
          Utilizes an HTTP POST request to https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/liasettings/{accountId}/setposdataprovider.
- 
          The request body should be empty, and a successful response will include a confirmation message. 
- 
          Needs authorization with the https://www.googleapis.com/auth/contentscope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Sets the POS data provider for the specified country.
HTTP request
POST https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/liasettings/{accountId}/setposdataprovider
Path parameters
| Parameters | |
|---|---|
| merchantId | 
 The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and  | 
| accountId | 
 The ID of the account for which to retrieve accessible Business Profiles. | 
Query parameters
| Parameters | |
|---|---|
| country | 
 The country for which the POS data provider is selected. | 
| posDataProviderId | 
 The ID of POS data provider. | 
| posExternalAccountId | 
 The account ID by which this merchant is known to the POS data provider. | 
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| { "kind": string } | 
| Fields | |
|---|---|
| kind | 
 Identifies what kind of resource this is. Value: the fixed string " | 
Authorization scopes
Requires one of the following OAuth scopes:
- https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.