---
title: "Get a single LocationGroup"
method: GET
path: "/location-groups/{id}"
tags: ["Location Groups"]
---

# Get a single LocationGroup

`GET /location-groups/{id}`

## Request

- Base URL: `https://workflows.promorepublic.com/webhook/2637089f-b543-45d0-a83e-2334aada4ead/listings/sandbox/api`
- URL: `https://workflows.promorepublic.com/webhook/2637089f-b543-45d0-a83e-2334aada4ead/listings/sandbox/api/location-groups/{id}`
- Auth: HTTP bearer

Can be used to retrieve a single LocationGroup.

## Path parameters

- `id` string, required

## Response `200`

LocationGroup successfully retrieved

- object
  - `status` 'SUCCESS' | 'PENDING' | 'QUOTA_LIMIT_EXCEED' | 'NOT_AUTHORIZED' | 'FORBIDDEN' | 'BAD_ACCESS_TOKEN' | 'BAD_PRIVATE_KEY' | 'BAD_PUBLIC_KEY' | 'MISSING_PARAMETER' | 'INVALID_PARAMETER' | 'WRONG_PARAMETER_TYPE' | 'CONFLICT' | 'RESOURCE_LOCKED' | 'SERVER_ERROR' | 'ERROR' | 'NOT_FOUND' | 'BAD_REQUEST' | 'USER_ERROR' | 'PARTIAL_ERROR' | 'SERVICE_TEMPORARILY_UNAVAILABLE', required
  - `message` string: (optional) Holds further information about the response
  - `warnings` string[]: (optional) Holds further warnings
  - `response` object, required: The actual response object of the response
    - `id` integer: ID of the LocationGroup.
    - `lastUpdated` string, date-time: Last updated date of the Location Group
    - `name` string: Name of the LocationGroup.
    - `status` 'ACTIVE' | 'DELETED': Status of the Location Group
    - `creator` integer
    - `salesPartner` integer
    - `locationsCount` integer
    - `locations` object[]
      - `id` integer: ID of the location
      - `name` string: Name of the location
      - `status` 'CREATED' | 'ACTIVE' | 'INACTIVE' | 'CANCELLED' | 'DELETED' | 'CLOSED': Status of the location
    - `users` object[]
      - `id` integer: ID of the user
      - `email` string: Email of the user
      - `firstName` string: First name of the user
      - `lastName` string: Last name of the user
      - `role` 'UBER_API_ADMIN' | 'API_ADMIN' | 'ADMIN' | 'ACCOUNT_MANAGER' | 'BUSINESS_MANAGER' | 'LOCATION_MANAGER' | 'BUSINESS_MANAGER_INBOX': Different roles a user account can have in the system.
      - `status` 'INVITED' | 'CREATED' | 'VERIFIED' | 'UNVERIFIED' | 'INACTIVE' | 'DELETED' | 'NO_LOGIN': User Status Enum

## Other responses

- `400`: Bad Request - The request was invalid or cannot be otherwise served
- `401`: Unauthorized - Authentication credentials are missing or invalid
- `403`: Forbidden - The request is understood, but has been refused or access is not allowed
- `404`: Not Found - The requested resource could not be found

---

[API](https://skmtc.dev/promorepublic/apis/listings-api.md) - [All operations](https://skmtc.dev/promorepublic/apis/listings-api/llms.txt) - [OpenAPI document](https://skmtc.dev/promorepublic/apis/listings-api/revisions/a04c07676a6e?raw)
