Method: accounts.regions.batchUpdate

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:

JSON representation
 { 
 "requests" 
 : 
 [ 
 { 
 object (  UpdateRegionRequest 
 
) 
 } 
 ] 
 } 
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" .

Create a Mobile Website
View Site in Mobile | Classic
Share by: