The My Business Place Actions API provides an interface for managing place action links of a location on Google.
Note - If you have a quota of 0 after enabling the API, please request for GBP API access.
Service: mybusinessplaceactions.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://mybusinessplaceactions.googleapis.com
REST Resource: v1.locations.placeActionLinks
Methods | |
---|---|
create |
POST /v1/{parent=locations/*}/placeActionLinks Creates a place action link associated with the specified location, and returns it. |
delete |
DELETE /v1/{name=locations/*/placeActionLinks/*} Deletes a place action link from the specified location. |
get |
GET /v1/{name=locations/*/placeActionLinks/*} Gets the specified place action link. |
list |
GET /v1/{parent=locations/*}/placeActionLinks Lists the place action links for the specified location. |
patch |
PATCH /v1/{placeActionLink.name=locations/*/placeActionLinks/*} Updates the specified place action link and returns it. |
REST Resource: v1.placeActionTypeMetadata
Methods | |
---|---|
list |
GET /v1/placeActionTypeMetadata Returns the list of available place action types for a location or country. |