---
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`

## Request

- Base URL: `http://localhost`
- URL: `http://localhost/locations`
- Auth: OAuth 2
  - Authorization code: `https://localhost/oauth2/authorize`
  - Token URL: `https://localhost/oauth2/authorize`

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[]
    - `id` string: Location id in the GrubTech platform
    - `name` string: Location name in the GrubTech platform
    - `description` string: Location description in the GrubTech platform
    - `currencyCode` string: Default currency code that is attached to the location. These are the three-letter alphabetic codes representing the various currencies used throughout the world.
    - `taxAmount` TaxAmount: Tax details for a specific catalog item.
      - `value` number, required: Tax value
      - `taxCode` string, required: Alphabetic codes that represent the various taxes
    - `contact` Contact: Contact information in the GrubTech platform
      - `name` string: Name of the contact
      - `email` string: Email address of the contact
      - `telphone` ContactTelephone: Telephone number information.
        - `countryCode` string: Country code of the telephone number.
        - `number` string: Telephone number without country code.
      - `address` string: Address of the contact.
    - `coordinates` LocationCoordinates: Geographical information of the location.
      - `longitude` string
      - `latitude` string

## Other responses

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

---

[API](https://skmtc.dev/grubtech/apis/inventory-service.md) - [All operations](https://skmtc.dev/grubtech/apis/inventory-service/llms.txt) - [OpenAPI document](https://skmtc.dev/grubtech/apis/inventory-service/revisions/8e275e5431a4?raw)
