Creates a new location
owned by the specified account, and returns it.
HTTP request
POST https://mybusiness.googleapis.com/v4/{parent=accounts/*}/locations
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
The name of the account in which to create this location. |
Query parameters
Parameters | |
---|---|
validateOnly |
If true, the request is validated without actually creating the location. |
requestId |
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 one of the following OAuth scopes:
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
For more information, see the OAuth 2.0 Overview.