- HTTP request
- Request body
- Response body
- Authorization scopes
- LiasettingsCustomBatchRequest
- LiasettingsCustomBatchRequestEntry
- LiasettingsCustomBatchResponseEntry
- GmbAccounts
- Try it!
Retrieves and/or updates the LIA settings of multiple accounts in a single request.
HTTP request
POST https://shoppingcontent.googleapis.com/content/v2.1/liasettings/batch
Request body
The request body contains an instance of LiasettingsCustomBatchRequest
.
Response body
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"entries": [
{
object ( |
Fields | |
---|---|
entries[] |
The result of the execution of the batch requests. |
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.
LiasettingsCustomBatchRequest
JSON representation |
---|
{
"entries": [
{
object ( |
Fields | |
---|---|
entries[] |
The request entries to be processed in the batch. |
LiasettingsCustomBatchRequestEntry
JSON representation |
---|
{ "batchId": integer, "merchantId": string, "method": string, "accountId": string, "country": string, "liaSettings": { object ( |
Fields | |
---|---|
batch |
An entry ID, unique within the batch request. |
merchant |
The ID of the managing account. |
method |
The method of the batch entry. Acceptable values are:
|
account |
The ID of the account for which to get/update account LIA settings. |
country |
The country code. Required only for RequestInventoryVerification. |
lia |
The account Lia settings to update. Only defined if the method is |
gmb |
The Business Profile. Required only for RequestGmbAccess. |
contact |
pos.inventory validation contact name. Required only for SetInventoryValidationContact. |
contact |
pos.inventory validation contact email. Required only for SetInventoryValidationContact. |
pos |
The ID of POS data provider. Required only for SetPosProvider. |
pos |
The account ID by which this merchant is known to the POS provider. |
omnichannel |
The omnichannel experience for a country. Required only for SetOmnichannelExperience. |
LiasettingsCustomBatchResponseEntry
JSON representation |
---|
{ "batchId": integer, "liaSettings": { object ( |
Fields | |
---|---|
batch |
The ID of the request entry to which this entry responds. |
lia |
The retrieved or updated Lia settings. |
errors |
A list of errors defined if, and only if, the request failed. |
gmb |
The list of accessible Business Profiles. |
pos |
The list of POS data providers. |
omnichannel |
The updated omnichannel experience for a country. |
kind |
Identifies what kind of resource this is. Value: the fixed string " |
GmbAccounts
JSON representation |
---|
{
"accountId": string,
"gmbAccounts": [
{
object ( |
Fields | |
---|---|
account |
The ID of the Merchant Center account. |
gmb |
A list of Business Profiles which are available to the merchant. |