- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- UpdateRegionRequest
- Try it!
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 |
Required. The account to update one or more regions for. Format: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"requests": [
{
object ( |
Fields | |
---|---|
requests[] |
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 ( |
Fields | |
---|---|
regions[] |
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 ( |
Fields | |
---|---|
region |
Required. The updated region. |
updateMask |
Optional. The comma-separated field mask indicating the fields to update. Example: |