Clients et contreparties
Clients, contacts et contreparties — gardez votre CRM et Flowtly synchronisés.
Client
Points de terminaison
| GET | /clients | Récupère la collection de ressources Client. |
| POST | /clients | Crée une ressource Client. |
| GET | /clients/{id} | Récupère une ressource Client. |
| PATCH | /clients/{id} | Met à jour la ressource Client. |
| GET | /clients/{id}/documents | Récupère une ressource Client. |
| GET | /clients/search | Récupère la collection de ressources Client. |
Champs de schéma
| Champ | Type | Description |
|---|---|---|
| country* | string (iri-reference) | |
| currency* | string (iri-reference) | |
| defaultCost | string,null (iri-reference) | |
| status* | string | |
| attributeSet | string,null (iri-reference) | |
| name* | string | |
| dueDays | integer | |
| tinType* | string | |
| tinCountry | stringnull | |
| tin | stringnull | |
| externalPaymentCustomerId | stringnull | |
| invoiceComment | stringnull | |
| defaultTaxRate | stringnull | |
| documentsLanguage | string | |
| addressPhoneNumber | stringnull | |
| addressCity | stringnull | |
| addressPostCode | stringnull | |
| addressStreetLine | stringnull | |
| addressBuildingNumber | stringnull | |
| addressLocaleNumber | stringnull | |
| addressCountry | string,null (iri-reference) | |
| clientContacts | array | |
| vatNumber | stringnull |
Contact Client
Points de terminaison
| GET | /client-contacts | Récupère la collection de ressources ClientContact. |
| POST | /client-contacts | Crée une ressource ClientContact. |
| GET | /client-contacts/{id} | Récupère une ressource ClientContact. |
| PATCH | /client-contacts/{id} | Met à jour la ressource ClientContact. |
| DELETE | /client-contacts/{id} | Supprime la ressource ClientContact. |
Champs de schéma
| Champ | Type | Description |
|---|---|---|
| id | integer | |
| client | string (iri-reference) | |
| type* | string | |
| position | integer | |
| email* | string (email) | |
| name* | string | |
| title | stringnull | |
| phone | stringnull | |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) | |
| possibleTypes | string |
Note Client
Points de terminaison
| GET | /client-notes | Récupère la collection de ressources ClientNote. |
| POST | /client-notes | Crée une ressource ClientNote. |
| GET | /client-notes/{id} | Récupère une ressource ClientNote. |
| PATCH | /client-notes/{id} | Met à jour la ressource ClientNote. |
| DELETE | /client-notes/{id} | Supprime la ressource ClientNote. |
Champs de schéma
| Champ | Type | Description |
|---|---|---|
| id | string | |
| client* | string (iri-reference) | |
| employee* | string (iri-reference) | |
| note* | string | |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) |
Contrepartie
Points de terminaison
| GET | /counterparties | Récupère la collection de ressources Counterparty. |
| POST | /counterparties | Crée une ressource Counterparty. |
| GET | /counterparties/{id} | Récupère une ressource Counterparty. |
| PATCH | /counterparties/{id} | Met à jour la ressource Counterparty. |
| DELETE | /counterparties/{id} | Supprime la ressource Counterparty. |
| POST | /counterparties/{id}/enrich-branding-ai | Queue single counterparty branding enrich via AI |
| POST | /counterparties/{id}/merge | Merge counterparties |
| POST | /counterparties/enrich-branding-ai | Queue counterparties branding enrich via AI |
| POST | /counterparty | Create supplier/client + counterparty by type |
| PATCH | /counterparty/{id} | Update supplier/client + counterparty by type |
Champs de schéma
| Champ | Type | Description |
|---|---|---|
| id | integer | |
| type | string | |
| requireAttachment | boolean | |
| cyclic | boolean | |
| budgetNeutral | boolean | |
| logoUrl | stringnull | |
| corporateWebsiteUrl | stringnull | |
| displayName | string | |
| costGroupIcon | stringnull |