Method: accounts.locations.create

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

string

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

Query parameters

Parameters
validateOnly

boolean

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

requestId

string

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/plus.business.manage

For more information, see the OAuth 2.0 Overview.

Send feedback about...

Google My Business API
Google My Business API
Need help? Visit our support page.