Google
Search for Google locations
Performs a search for Google locations based on the provided query parameters. This endpoint requires authentication, and only authorized users with the appropriate permissions can access it.
get/google-oauth-accounts/locations/search
Query parameters
querystring
The search query string. It searches on the following fields of the Google location:
- locality (e.g., https://api.partoo.co/v2/google-oauth-accounts/locations/search?query=Paris)
- postal_code (e.g., https://api.partoo.co/v2/google-oauth-accounts/locations/search?query=75018)
- location_name (e.g., https://api.partoo.co/v2/google-oauth-accounts/locations/search?query=Annie%20-%20HQ)
- address_details (e.g., https://api.partoo.co/v2/google-oauth-accounts/locations/search?query=130%20rue%20mont%20cenis)
- store_code (e.g., https://api.partoo.co/v2/google-oauth-accounts/locations/search?query=annie-hq)
google_location_idstring
The ID of the Google location stored in Partoo.
oauth_account_idstring
The ID of the OAuth account stored in Partoo.
not_connected_onlyboolean
Filter for locations not connected to any business.
verification_statusstring
Filter by verification status.
pageinteger
The page number for pagination.
Response
OK
Example response
{
"locations": [
{
"id": "6047dac0604f33da03018004",
"location_name": "Annie - HQ",
"store_code": "annie-hq",
"region_code": "FR",
"postal_code": "75018",
"address_details": "130 rue mont cenis",
"locality": "Paris",
"place_id": "ChIJ3Qu-HpFt5kcRNHUedqwIzQY",
"google_verifications": {
"status": "verified",
"checked_at": "2023-01-30T14:25:11.163950Z"
},
"phone_numbers": "0675181818"
}
],
"page": 1,
"max_page": 10,
"count": 287
}