gmb services
Replace services
Replaces the entire service list for a location. Google's API requires full replacement; individual item updates are not supported. Each service can be structured (using a predefined serviceTypeId) or free-form (custom label).
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 target. If omitted, uses the account's selected location.
serviceItems
Response Body
application/json
application/json
application/json
curl -X PUT "https://zernio.com/api/v1/accounts/string/gmb-services" \ -H "Content-Type: application/json" \ -d '{ "serviceItems": [ { "freeFormServiceItem": { "category": "categories/gcid:plumber", "label": { "displayName": "Pipe Repair", "description": "Emergency and scheduled pipe repair" } }, "price": { "currencyCode": "USD", "units": "150" } } ] }'{
"success": true,
"services": [
{}
]
}{
"error": "string",
"details": {}
}{
"error": "string",
"details": {}
}