Method: accounts.locations.create

Creates a new location owned by the specified account, and returns it.

HTTP request

POST https://mybusiness.googleapis.com/v3/{name=accounts/*}/locations

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
name

string

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

Query parameters

Parameters
languageCode

string

The language of the location.

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. UUIDs are recommended. 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 Auth Guide.

Enviar comentarios sobre…

Google My Business API
Google My Business API
¿Necesitas ayuda? Visita nuestra página de asistencia.