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.