---
description: Get store locations for the current store being browsed.
---

# GET /locations.json

## Store Locations (Public)

<mark style="color:blue;">`GET`</mark> `https://app.reserveinstore.com/api/v1/locations.json`

Get all available locations for the current store.

#### Query Parameters

| Name | Type    | Description                                                                                  |
| ---- | ------- | -------------------------------------------------------------------------------------------- |
| page | integer | Page # if there are more than 250 locations. Defaults to 1 and each page contains 250 items. |

#### Headers

| Name        | Type   | Description                  |
| ----------- | ------ | ---------------------------- |
| public\_key | string | Your store's public API key. |

{% tabs %}
{% tab title="200 Store locations retrieved." %}
```javascript
[
    {
        "id": 4,
        "name": "Faykit, NYC Location",
        "address": "123 Faykit Street South",
        "country": "Canada",
        "state": "Ontario",
        "city": "Cambridge",
        "zip": "N1R 7W9",
        "platform_location_id": "39779853",
        "google_maps_url": "https://www.google.com/maps/search/?api=1&query=123%20Faykit%20Street%20South%20Cambridge%20Ontario%20Canada%20N1R%207W9"
    },
    {
        "id": 3,
        "name": "1515 York Ave, NY",
        "address": "1515 York Avenue ",
        "country": "United States",
        "state": "NY",
        "city": "New York",
        "zip": "10028",
        "platform_location_id": "9879322677",
        "google_maps_url": "https://www.google.com/maps/search/?api=1&query=1515%20York%20Avenue%20%20New%20York%20NY%20United%20States%2010028"
    },
    {
        "id": 2,
        "store_id": 2,
        "name": "150 Dundas St W, Toronto",
        "address": "150 Dundas Street West ",
        "country": "Canada",
        "state": "ON",
        "city": "Toronto",
        "zip": "M5G 1C6",
        "platform_location_id": "9879355445",
        "google_maps_url": "https://www.google.com/maps/search/?api=1&query=150%20Dundas%20Street%20West%20%20Toronto%20ON%20Canada%20M5G%201C6"
    },
    {
        "id": 5,
        "store_id": 2,
        "name": "3B Paris, France Outlet",
        "address": "3 Boulevard des Capucines Unit 32",
        "country": "France",
        "state": "Île-de-France",
        "city": "Paris",
        "zip": "75002",
        "platform_location_id": "9879289909",
        "google_maps_url": "https://www.google.com/maps/search/?api=1&query=3%20Boulevard%20des%20Capucines%20Unit%2032%20Paris%20%C3%8Ele-de-France%20France%2075002"
    }
]
```
{% endtab %}
{% endtabs %}

## Store Locations (Private)

<mark style="color:blue;">`GET`</mark> `https://app.reserveinstore.com/api/v1/locations.json`

Same as above but you get more information about the location, like the manager's phone number, email, etc.

#### Query Parameters

| Name | Type    | Description                                                                                                |
| ---- | ------- | ---------------------------------------------------------------------------------------------------------- |
| page | integer | Page # if there are more than 250 locations. This defaults to 1 and each page contains 250 items per page. |

#### Headers

| Name        | Type   | Description                  |
| ----------- | ------ | ---------------------------- |
| secret\_key | string | Your store's secret API key. |
| public\_key | string | Your store's public API key. |

{% tabs %}
{% tab title="200 Store locations retrieved." %}
```javascript
[
    {
        "id": 4,
        "name": "Faykit, NYC Location",
        "address": "123 Faykit Street South",
        "country": "Canada",
        "state": "Ontario",
        "city": "Cambridge",
        "zip": "N1R 7W9",
        "zip": "10028",
        "platform_location_id": "39779853",
        "email": "john@example.com",
        "phone": "+12124723581",
        "created_at": "2019-05-07T19:57:41.909Z",
        "updated_at": "2019-05-07T23:52:30.158Z",
        "google_maps_url": "https://www.google.com/maps/search/?api=1&query=123%20Faykit%20Street%20South%20Cambridge%20Ontario%20Canada%20N1R%207W9"
    },
    {
        "id": 3,
        "name": "1515 York Ave, NY",
        "address": "1515 York Avenue ",
        "country": "United States",
        "state": "NY",
        "zip": "10028",
        "city": "New York",
        "zip": "10028",
        "platform_location_id": "9879322677",
        "email": "lisa@example.com",
        "phone": "+12124723581",
        "created_at": "2019-05-07T19:57:41.909Z",
        "updated_at": "2019-05-07T23:52:30.158Z",
        "google_maps_url": "https://www.google.com/maps/search/?api=1&query=1515%20York%20Avenue%20%20New%20York%20NY%20United%20States%2010028"
    },
    {
        "id": 2,
        "store_id": 2,
        "name": "150 Dundas St W, Toronto",
        "address": "150 Dundas Street West ",
        "country": "Canada",
        "state": "ON",
        "city": "Toronto",
        "zip": "M5G 1C6",
        "email": "mary@example.com",
        "phone": "+12124723581",
        "created_at": "2019-05-07T19:57:41.909Z",
        "updated_at": "2019-05-07T23:52:30.158Z",
        "platform_location_id": "9879355445",
        "google_maps_url": "https://www.google.com/maps/search/?api=1&query=150%20Dundas%20Street%20West%20%20Toronto%20ON%20Canada%20M5G%201C6"
    },
    {
        "id": 5,
        "store_id": 2,
        "name": "3B Paris, France Outlet",
        "address": "3 Boulevard des Capucines Unit 32",
        "country": "France",
        "state": "Île-de-France",
        "city": "Paris",
        "email": "carla@example.com",
        "phone": "+12124723581",
        "created_at": "2019-05-07T19:57:41.909Z",
        "updated_at": "2019-05-07T23:52:30.158Z",
        "zip": "75002",
        "platform_location_id": "9879289909",
        "google_maps_url": "https://www.google.com/maps/search/?api=1&query=3%20Boulevard%20des%20Capucines%20Unit%2032%20Paris%20%C3%8Ele-de-France%20France%2075002"
    }
]
```
{% endtab %}
{% endtabs %}
