Skip to main content

Get google location details

GET 

https://api.staging.powerapi.com/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

    location_id stringrequired

Responses

Schema
    id stringrequired

    Unique identifier for the location

    Example: 6047dac0604f33da03018004
    location_name string

    Name of the location

    Example: Annie - HQ
    store_code stringnullable

    Code for the store

    Example: annie-hq
    region_code stringnullable

    Region code

    Example: FR
    postal_code stringnullable

    Postal code

    Example: 75018
    address_details stringnullable

    Detailed address information

    Example: 130 rue mont cenis
    locality stringnullable

    Locality

    Example: Paris
    place_id string

    Google Place ID

    Example: ChIJ3Qu-HpFt5kcRNHUedqwIzQY
    google_verifications object

    Verification status and timestamp for Google verifications

    status string

    Verification status

    Example: verified
    checked_at date-time

    Timestamp when verified

    Example: 2023-01-30T14:25:11.163950Z
    phone_numbers stringnullable

    Phone number

    Example: 675181818

Authorization: http

name: bearertype: httpscheme: bearerbearerFormat: JWT
curl -L 'https://api.staging.powerapi.com/api/v2/google/locations/:location_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Request Collapse all
Base URL
https://api.staging.powerapi.com
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!