Create an anagrafica
Adds a company or a person to the register — the roles it holds (a customer, a supplier, both…), the fiscal block (partita IVA, codice fiscale, codice destinatario, PEC), the contact details, the owner and the GDPR basis. A partita IVA is NOT unique here (branches of one group share one, and so do a person and their ditta individuale), so nothing is refused as a duplicate: call anagrafiche_find_duplicates first and show the user what came back. Addresses are separate — add them with anagrafiche_set_address afterwards. A role outside the caller’s own role list (see access on anagrafiche_list_roles) is refused. It appears in the register immediately, so confirm the details with the user first.
Request
- Base URL: https://api.custodo.ai
- URL: https://api.custodo.ai/api/v1/rest/anagrafiche/parties
- Auth: HTTP bearer
Headers
The organisation to act in. An API key is bound to exactly one, so this is optional for a key and must match the one it was minted for.
Request body
Response
Done. data is the tool’s own answer.
Changes
No recorded changes to this operation across all 1 revision of this API.