Skip to main content
GET
Get a Client by id

Headers

Authorization
string
required

API key. Value must be formatted like so: lucca application={api_key}.

Path Parameters

id
integer
required

Identifier of the client.

Response

OK

A client must belong to a single organization [blocked].

The organizationId field is required upon creation (POST) and cannot be modified later.

name
string
required
Minimum string length: 1
code
string
required

Unique code for this client. Used for identifying the client in invoices export if externalCode is null.

Minimum string length: 1
id
number
read-only
externalCode
null | string

Used for identifying the client in invoices exports. Is not subject to unicity.

owner
null | object
read-only