AI-generated Key Takeaways
- 
          Creates a new Location within a specified account, owned by the logged-in user, using an HTTP POST request. 
- 
          The request requires specifying the parent account in the path and can include optional query parameters for validation and request deduplication. 
- 
          The request body should contain a Location object, and a successful response will return the newly created Location object. 
- 
          Authorization requires the https://www.googleapis.com/auth/business.manageOAuth scope for managing business information.
Creates a new Location that will be owned by the logged in user.
HTTP request
POST https://mybusinessbusinessinformation.googleapis.com/v1/{parent=accounts/*}/locations
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The name of the account in which to create this location. | 
Query parameters
| Parameters | |
|---|---|
| validateOnly | 
 Optional. If true, the request is validated without actually creating the location. | 
| requestId | 
 Optional. A unique request ID for the server to detect duplicated requests. We recommend using UUIDs. Max length is 50 characters. | 
Request body
The request body contains an instance of Location.
Response body
If successful, the response body contains a newly created instance of Location.
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/business.manage
For more information, see the OAuth 2.0 Overview.