The My Business Business Information API provides an interface for managing business information.
Note - If you have a quota of 0 after enabling the API, please request for GBP API access.
- REST Resource: v1.accounts.locations
- REST Resource: v1.attributes
- REST Resource: v1.categories
- REST Resource: v1.chains
- REST Resource: v1.googleLocations
- REST Resource: v1.locations
- REST Resource: v1.locations.attributes
Service: mybusinessbusinessinformation.googleapis.com
To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
https://mybusinessbusinessinformation.googleapis.com
REST Resource: v1.accounts.locations
Methods | |
---|---|
create |
POST /v1/{parent=accounts/*}/locations Creates a new Location that will be owned by the logged in user. |
list |
GET /v1/{parent=accounts/*}/locations Lists the locations for the specified account. |
REST Resource: v1.attributes
Methods | |
---|---|
list |
GET /v1/attributes Returns the list of attributes that would be available for a location with the given primary category and country. |
REST Resource: v1.categories
Methods | |
---|---|
batchGet |
GET /v1/categories:batchGet Returns a list of business categories for the provided language and GConcept ids. |
list |
GET /v1/categories Returns a list of business categories. |
REST Resource: v1.chains
Methods | |
---|---|
get |
GET /v1/{name=chains/*} Gets the specified chain. |
search |
GET /v1/chains:search Searches the chain based on chain name. |
REST Resource: v1.googleLocations
Methods | |
---|---|
search |
POST /v1/googleLocations:search Search all of the possible locations that are a match to the specified request. |
REST Resource: v1.locations
Methods | |
---|---|
delete |
DELETE /v1/{name=locations/*} Deletes a location. |
get |
GET /v1/{name=locations/*} Returns the specified location. |
getAttributes |
GET /v1/{name=locations/*/attributes} Looks up all the attributes set for a given location. |
getGoogleUpdated |
GET /v1/{name=locations/*}:getGoogleUpdated Gets the Google-updated version of the specified location. |
patch |
PATCH /v1/{location.name=locations/*} Updates the specified location. |
updateAttributes |
PATCH /v1/{attributes.name=locations/*/attributes} Update attributes for a given location. |
REST Resource: v1.locations.attributes
Methods | |
---|---|
getGoogleUpdated |
GET /v1/{name=locations/*/attributes}:getGoogleUpdated Gets the Google-updated version of the specified location. |