Get google location details
GET/api/v2/google/locations/:location_id
Returns a Google location object that corresponds to the given google_location_id. The location_id is a unique identifier for each location.
Request
Path Parameters
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
- application/json
- Schema
- Example (from schema)
Schema
Unique identifier for the location
Name of the location
Code for the store
Region code
Postal code
Detailed address information
Locality
Google Place ID
google_verifications
object
Verification status and timestamp for Google verifications
Verification status
Timestamp when verified
Phone number
{
"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": 675181818
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
HTTP status code
Error message
Possible values: [query
, body
, response
, param
]
Where in the request the error occurred
errors
object[]
required
Possible values: non-empty
Path to the property with the error
constraints
object
required
Error message
{
"statusCode": 404,
"message": "Cannot find item",
"location": "query",
"errors": [
{
"path": "business.id",
"constraints": {
"object_required_property": "Required property"
}
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}