Connect

List Google Business Profile locations

Changed on

Returns Google Business Profile locations the connected account can access, plus the currently selected location. The list is bounded (see hasMore); for accounts that own many locations, use the search or filter query params to find a specific one instead of loading them all, or raise limit to enumerate an account with more than 100 locations.

get/v1/accounts/{accountId}/gmb-locations

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/accounts/{accountId}/gmb-locations
  • Auth: HTTP bearer

Path parameters

accountIdstring required

Query parameters

searchstring

Free-text search on the business name, applied server-side by Google. Use for accounts with many locations.

filterstring

Raw Google Business Information API filter expression (advanced; takes precedence over search), e.g. storeCode="LH279411".

limitinteger

Max locations to return (default 100, max 500). Raise it to enumerate an account with more than 100 locations; for accounts with thousands, use search/filter instead.

Response

Locations list

hasMoreboolean

True when more locations exist than were returned (use search to narrow down).

selectedLocationIdstring
cachedboolean

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status