PeumeAPI

Social publishing & inbox · Google Business

Update location

Switch which location is active for a connected account.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/google-business-update-location \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId",
    "selectedLocationId": "your selectedLocationId"
  }
}'

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.

Parameters

accountIdRequiredstring
selectedLocationIdRequiredstring
googleAccountIdstring

Optional but recommended. The Account resource name ("accounts/123") that owns the new location (from GET gmb-locations). When provided, the location is resolved directly instead of by enumerating the account, which is required for accounts with many locations. Named `googleAccountId` to disambiguate from the path `accountId` (the account). The legacy field name `accountId` is still accepted for backwards compatibility.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.