GET
/
v1
/
{tenantId}
/
customers
/
{id}
curl --request GET \
  --url https://api.debbiecollect.com/v1/{tenantId}/customers/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": 123456,
  "customerId": "268b30d2-e895-42b9-8a38-2451a87e19b2",
  "isCompany": false,
  "referenceId": "123",
  "users": [
    {
      "contact": true,
      "lang": "en",
      "relation": "debtor",
      "details": {
        "name": "Hans Hansen",
        "email": "email@example.com",
        "phone": {
          "locale": "45",
          "number": "12345678"
        },
        "address": {
          "address": "Applebys Plads 7, 1.",
          "coAddress": null,
          "city": "København K",
          "zipcode": "1411",
          "country": "Danmark"
        }
      }
    }
  ],
  "cases": [
    {
      "caseId": "268b30d2-e895-42b9-8a38-2451a87e19b2",
      "status": "PENDING",
      "statusTime": "2022-04-19T07:30:21.070Z",
      "exitReason": null,
      "createdAt": "2022-04-19T07:30:21.070Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Authentication can be done by using a bearer token in the Authorization header. This is done using the following format Authorization: Bearer {token}.

Path Parameters

tenantId
string
required

Id of the tenant the case belongs to

id
string
required

Id of the customer to be retrieved

Response

200
application/json

Successful operation

The response is of type object.