google business profile
Get services
Gets the services offered by a Google Business Profile location. Returns an array of service items (structured or free-form with optional price).
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
accountIdstring
Query Parameters
locationId?string
Override which location to query. If omitted, uses the account's selected location.
Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.gmbservices.getGoogleBusinessServices({ path: { accountId: 'account_abc123', },});console.log(data);{
"success": true,
"accountId": "string",
"locationId": "string",
"services": [
{
"structuredServiceItem": {
"serviceTypeId": "string",
"description": "string"
},
"freeFormServiceItem": {
"category": "string",
"label": {
"displayName": "string",
"description": "string"
}
},
"price": {
"currencyCode": "USD",
"units": "50",
"nanos": 0
}
}
]
}{
"error": "string",
"details": {}
}Batch get reviews POST
Fetches reviews across multiple locations in a single request. More efficient than calling GET /gmb-reviews per location for multi-location businesses. Reviews are grouped by location in the response.
Update action link PATCH
Updates a place action link (change URL or action type). Only the fields included in the request body will be updated.