---
title: "Retrieve a location"
method: GET
path: "/v1/locations/{location_slug}"
tags: ["Locations"]
---

# Retrieve a location

`GET /v1/locations/{location_slug}`

## Request

- Base URL: `https://orders-api.paymongo.com`
- URL: `https://orders-api.paymongo.com/v1/locations/{location_slug}`
- Auth: HTTP basic

Retrieves a single location by its slug.

## Path parameters

- `location_slug` string, required

## Response `200`

OK

- object: Standard response containing data and its metadata if any
  - `data` LocationResponseDTO
    - `branding` BrandingResponseDTO
      - `accent_color` string
      - `brand_color` string
      - `header_alignment` string
      - `icon_url` string
      - `logo_url` string
      - `prefer_logo_over_icon` boolean
      - `show_paymongo_badge` boolean
    - `created_at` string
    - `id` string
    - `is_deleted` boolean
    - `livemode` boolean
    - `location_slug` string
    - `name` string
    - `order_number_mode` 'daily' | 'sequential'
    - `pass_on_fees` boolean
    - `purchase_validation_enabled` boolean
    - `review_url` string
    - `status` string
    - `updated_at` string
    - `warehouse_ids` string[]
  - `has_more` boolean

## Other responses

- `401`: Unauthorized
- `404`: Not Found
- `default`

---

[API](https://skmtc.dev/paymongo/apis/orders.md) - [All operations](https://skmtc.dev/paymongo/apis/orders/llms.txt) - [OpenAPI document](https://skmtc.dev/paymongo/apis/orders/revisions/7962c4ea82b5?raw)
