Method: accounts.regions.batchUpdate
Stay organized with collections
Save and categorize content based on your preferences.
Updates one or more regions in your Merchant Center account. Executing this method requires admin access.
HTTP request
POST https://merchantapi.googleapis.com/accounts/v1/{parent=accounts/*}/regions:batchUpdate
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The account to update one or more regions for. Format: accounts/{account}
|
Request body
The request body contains data with the following structure:
Fields |
requests[] |
object (UpdateRegionRequest )
Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
|
Response body
Response message for the regions.batchUpdate
method.
If successful, the response body contains data with the following structure:
JSON representation |
{
"regions": [
{
object (Region )
}
]
} |
Fields |
regions[] |
object (Region )
The updated region(s).
|
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.
UpdateRegionRequest
Request message for the regions.patch
method.
JSON representation |
{
"region": {
object (Region )
},
"updateMask": string
} |
Fields |
region |
object (Region )
Required. The updated region.
|
updateMask |
string (FieldMask format)
Optional. The comma-separated field mask indicating the fields to update. Example: "displayName,postalCodeArea.regionCode" .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-03 UTC.
[null,null,["Last updated 2025-09-03 UTC."],[],[],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.BatchUpdateRegionsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [UpdateRegionRequest](#UpdateRegionRequest)\n - [JSON representation](#UpdateRegionRequest.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nUpdates one or more regions in your Merchant Center account. Executing this method requires admin access.\n\nHTTP request\n\n`POST https://merchantapi.googleapis.com/accounts/v1/{parent=accounts/*}/regions:batchUpdate`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|----------|------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The account to update one or more regions for. Format: `accounts/{account}` |\n\nRequest body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"requests\": [ { object (/merchant/api/reference/rest/accounts_v1/accounts.regions/batchUpdate#UpdateRegionRequest) } ] } ``` |\n\n| Fields ||\n|--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `requests[]` | `object (`[UpdateRegionRequest](/merchant/api/reference/rest/accounts_v1/accounts.regions/batchUpdate#UpdateRegionRequest)`)` Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100. |\n\nResponse body Response message for the `regions.batchUpdate` method.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------|\n| ``` { \"regions\": [ { object (/merchant/api/reference/rest/accounts_v1/accounts.regions#Region) } ] } ``` |\n\n| Fields ||\n|-------------|----------------------------------------------------------------------------------------------------------------|\n| `regions[]` | `object (`[Region](/merchant/api/reference/rest/accounts_v1/accounts.regions#Region)`)` The updated region(s). |\n\nAuthorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/content`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2).\n\nUpdateRegionRequest Request message for the `regions.patch` method.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"region\": { object (/merchant/api/reference/rest/accounts_v1/accounts.regions#Region) }, \"updateMask\": string } ``` |\n\n| Fields ||\n|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `region` | `object (`[Region](/merchant/api/reference/rest/accounts_v1/accounts.regions#Region)`)` Required. The updated region. |\n| `updateMask` | `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` Optional. The comma-separated field mask indicating the fields to update. Example: `\"displayName,postalCodeArea.regionCode\"`. |"]]