Method: accounts.regions.create
Creates a region definition in your Merchant Center account. Executing this method requires admin access.
HTTP request
POST https://merchantapi.googleapis.com/accounts/v1beta/{parent=accounts/*}/regions
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The account to create a region for. Format: accounts/{account}
|
Query parameters
Parameters |
regionId |
string
Required. The identifier for the region, unique over all regions of the same account.
|
Request body
The request body contains an instance of Region
.
Response body
If successful, the response body contains a newly created instance of Region
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.
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-02-25 UTC.
[null,null,["Last updated 2025-02-25 UTC."],[[["Creates a region definition within your Merchant Center account, requiring admin access for execution."],["Utilizes an HTTP POST request to `https://merchantapi.googleapis.com/accounts/v1beta/{parent=accounts/*}/regions` with specific path and query parameters for account and region identification."],["Requires a request body containing a Region object and returns a newly created Region object upon successful execution."],["Needs authorization with the `https://www.googleapis.com/auth/content` OAuth scope."]]],["This describes how to create a region definition in a Merchant Center account via a POST request to `https://merchantapi.googleapis.com/accounts/v1beta/{parent=accounts/*}/regions`. The `parent` path parameter specifies the account. The `regionId` query parameter provides a unique identifier. The request body must include a `Region` instance, and a successful response returns the newly created `Region`. Admin access and the `https://www.googleapis.com/auth/content` OAuth scope are required.\n"]]