Update your Google Business Profile API integration before critical endpoints are disabled. Review the deprecation schedule and instructions to avoid disruptions starting in April 2022.
The Business Profile Performance API is now launched! Migration work is required.

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.