Call it
curl https://api.peume.com/v1/call/google-business-update-location-details \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"accountId": "your accountId",
"updateMask": "your updateMask"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-business-update-location-details", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"accountId": "your accountId",
"updateMask": "your updateMask"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-business-update-location-details",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"accountId": "your accountId",
"updateMask": "your updateMask"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: google-business-update-location-details.
Parameters
locationIdstringOverride which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
accountIdRequiredstringThe account ID (from /v1/accounts)
updateMaskRequiredstringRequired. Comma-separated fields to update (e.g. 'regularHours', 'specialHours', 'profile.description', 'categories', 'serviceItems'). Any valid Google Business Information API updateMask field is supported.
regularHoursobjectspecialHoursobjectprofileobjectwebsiteUristringphoneNumbersobjectcategoriesobjectPrimary and additional business categories. Use updateMask='categories' to update.
serviceItemsarrayServices offered by the business. Use updateMask='serviceItems' to update.
titlestringBusiness name. Use updateMask='title'.
storeCodestringExternal store identifier, unique within the account. Use updateMask='storeCode'.
labelsarrayFree-form, internal-only labels for grouping (1-255 characters each). Use updateMask='labels'.
storefrontAddressobjectPostal address of the storefront. Use updateMask='storefrontAddress'. Omit for service-area-only businesses.
serviceAreaobjectAreas the business serves. Use updateMask='serviceArea'. Full replacement: send every place you want to keep.
openInfoobjectOpen/closed status of the location. Use updateMask='openInfo'.
moreHoursarrayAdditional hours for specific services (delivery, drive-through, etc.). Use updateMask='moreHours'.
latlngobjectPrecise coordinates. Use updateMask='latlng'. Google restricts latlng writes to approved clients, so this update may be silently ignored or rejected.
adWordsLocationExtensionsobjectAlternate phone shown in Google Ads location extensions. Use updateMask='adWordsLocationExtensions'.
