---
title: "Get all locations with details for a specific partner."
method: GET
path: "/locations"
tags: ["Location"]
---

# Get all locations with details for a specific partner.

`GET /locations`

Get all locations with details for a specific partner.

## Query parameters

- `page` integer
- `pageSize` integer

## Response `200`

Successful response

- LocationsPage
  - `meta` Page
    - `totalItems` integer
    - `totalPages` integer
    - `page` integer
    - `size` integer
  - `locations` Location[]
    - `address1` string, required — The primary address line for the pickup location.
    - `address2` string — The secondary address line for the pickup location (optional).
    - `area` string, required — The area or neighborhood of the pickup location.
    - `city` string, required — The city where the pickup location is situated.
    - `country` string — The country where the pickup location is situated.
    - `formattedAddress` string, required — A formatted version of the full address.
    - `coordinates` Coordinates, required
      - `latitude` string, required — The latitude of the location.
      - `longitude` string, required — The longitude of the location.

## Other responses

- `400` — Bad request
- `500` — Internal server error

---

[API](https://skmtc.net/grubtech/apis/grubtech-auth-server.md) · [All operations](https://skmtc.net/grubtech/apis/grubtech-auth-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/grubtech/grubtech-auth-server/revisions/21688b6dcb69/schema)
