---
title: "Get a customer of any type"
method: GET
path: "/v1/locations/{locationId}/customers/{customerId}"
tags: ["Customers"]
---

# Get a customer of any type

`GET /v1/locations/{locationId}/customers/{customerId}`

## Request

- Base URL: `https://api.cliento.com`
- URL: `https://api.cliento.com/v1/locations/{locationId}/customers/{customerId}`
- Auth: HTTP bearer

The short entry for a person, a company or a vehicle, by its id.

## Path parameters

- `locationId` string, required
- `customerId` string, required

## Response `200`

OK

- Customer: The short entry for a person, a company or a vehicle. The id's prefix says which type, and that type's API has the rest.
  - `id` string, required
  - `locationId` string, required
  - `name` string
  - `number` string: The number that identifies it, when it has one: a person's identity number, a company's organisation number or a vehicle's registration number.
  - `type` string, required: `person`, `company` or `vehicle`. It also says where to read the rest: Persons, Companies or Vehicles. More values may be added.

## Other responses

- `default`: Any failure. See the Errors section.

---

[API](https://skmtc.dev/cliento/apis/cliento-api.md) · [All operations](https://skmtc.dev/cliento/apis/cliento-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cliento/apis/cliento-api/revisions/29ca811bc061?raw)
