Customers

Get a customer of any type by id

The short entry for a person, a company or a vehicle, found from its id. For a caller that holds an id and not the location it belongs to. The answer carries locationId.

get/v1/customers/{customerId}

Request

  • Base URL: https://api.cliento.com
  • URL: https://api.cliento.com/v1/customers/{customerId}
  • Auth: HTTP bearer

Path parameters

customerIdstring required

Response

OK

idstring required
locationIdstring required
namestring
numberstring

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.

typestring required

person, company or vehicle. It also says where to read the rest: Persons, Companies or Vehicles. More values may be added.

Example response

{
  "id": "per_2QCtWVSaVO7yCRYBj1zsbA",
  "locationId": "loc_4fK9xQ2mLr8TzB1vNc7HdW",
  "name": "Anna Lindqvist",
  "number": "198604122385",
  "type": "person"
}

Changes

No recorded changes to this operation across all 1 revision of this API.