Method: accounts.regions.batchCreate
Stay organized with collections
Save and categorize content based on your preferences.
Creates 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:batchCreate
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The account to create one or more regions for. Format: accounts/{account}
|
Request body
The request body contains data with the following structure:
Fields |
requests[] |
object (CreateRegionRequest )
Required. The region(s) to create. The maximum number of regions that can be created in a batch is 100.
|
Response body
Response message for the regions.batchCreate
method.
If successful, the response body contains data with the following structure:
JSON representation |
{
"regions": [
{
object (Region )
}
]
} |
Fields |
regions[] |
object (Region )
The created region(s).
|
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.
CreateRegionRequest
Request message for the regions.create
method.
JSON representation |
{
"parent": string,
"regionId": string,
"region": {
object (Region )
}
} |
Fields |
parent |
string
Required. The account to create a region for. Format: accounts/{account}
|
regionId |
string
Required. The identifier for the region, unique over all regions of the same account.
|
region |
object (Region )
Required. The region to create.
|
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.BatchCreateRegionsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [CreateRegionRequest](#CreateRegionRequest)\n - [JSON representation](#CreateRegionRequest.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nCreates 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:batchCreate`\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 create 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/batchCreate#CreateRegionRequest) } ] } ``` |\n\n| Fields ||\n|--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `requests[]` | `object (`[CreateRegionRequest](/merchant/api/reference/rest/accounts_v1/accounts.regions/batchCreate#CreateRegionRequest)`)` Required. The region(s) to create. The maximum number of regions that can be created in a batch is 100. |\n\nResponse body Response message for the `regions.batchCreate` 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 created 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\nCreateRegionRequest Request message for the `regions.create` method.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"parent\": string, \"regionId\": string, \"region\": { object (/merchant/api/reference/rest/accounts_v1/accounts.regions#Region) } } ``` |\n\n| Fields ||\n|------------|-------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The account to create a region for. Format: `accounts/{account}` |\n| `regionId` | `string` Required. The identifier for the region, unique over all regions of the same account. |\n| `region` | `object (`[Region](/merchant/api/reference/rest/accounts_v1/accounts.regions#Region)`)` Required. The region to create. |"]]