The Q&A API is now launched! Migration work is required. Please see our deprecation schedule for more information related to deprecated endpoints. You may also sign up for our mailing list to receive updates.

Method: accounts.locations.create

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

string

Required. The name of the account in which to create this location.

Query parameters

Parameters
validateOnly

boolean

Optional. If true, the request is validated without actually creating the location.

requestId

string

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.