Skip to main content
GET
/
api
/
customers
/
{id}
Get Customer
curl --request GET \
  --url https://api.example.com/api/customers/{id}/ \
  --cookie sessionid=
{
  "id": 123,
  "external_id": "<string>",
  "full_name": "<string>",
  "customer_type": "INDIVIDUAL",
  "input_details": "<unknown>",
  "delete_after": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

sessionid
string
cookie
required

Path Parameters

id
integer
required

Response

200 - application/json

Read-only serializer for Customer with computed fields.

id
integer
required
external_id
string | null
required

ID from the source system, for lookups.

full_name
string
required
customer_type
required
  • INDIVIDUAL - Individual
  • COMPANY - Company
Available options:
INDIVIDUAL,
COMPANY
input_details
any | null
required

Flexible JSON for inputting customer fields such as first_name, address, etc. Any format accepted.

delete_after
integer
required

Days until deletion.

created_at
string<date-time>
required
updated_at
string<date-time>
required