« All modules

Contacts

Agenda de contacte / clienți.

Filters on list endpoints are URL path segments, not query strings — see Conventions. The Swagger tester works best for JSON body endpoints.
GET /contacts/list/ List clients

Returns a paginated list of clients (agendă firme rows where is_client = 1).

Standard filters: modifiedafter, modifiedthrough, id, minid, page (date filters use lastupdated).

Include:
- pricelist — adds pricelist_id and pricelist_name to each row. Falls back to the client's group pricelist when the contact has no direct pricelist.
- address — adds addresses[] array (all non-deleted delivery/invoice addresses).
- contacts — adds contacts[] array (linked contact persons).
- banks — adds bank_accounts[] array (linked bank accounts with currency).

Example: /contacts/list/modifiedafter:2024-01-01/include:address,pricelist/

Responses

StatusDescription
200 OK — response uses the shared envelope.
400 Request is malformed or a required field is missing / invalid.
401 Missing or invalid Basic Auth credentials.
GET /contacts/{contact_id}/ Get contact details

Returns the details of one contact (agendă firme row), formatted using the shared client-data helper.

Include:
- pricelist — adds pricelist_id and pricelist_name to the response. Falls back to the client's group pricelist.

Parameters

NameInTypeRequiredDescription
contact_id path integer yes

Responses

StatusDescription
200 OK — response uses the shared envelope.
404 The requested resource does not exist.

This page is generated from openapi.json.