{{baseUrl}}/account/:id
PATCH {{baseUrl}}/account/:id
This method allows you to add extra invoices or extra company names. Invoices can be added for all types of accounts while company names can only be added for those of the 'pro' type.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Accept
|
string |
RESPONSES
status OK
{
"data": {
"cf_piva_titolare": "12485671007",
"denominazione_titolare": "openapi srl",
"comune_titolare": "roma",
"indirizzo_titolare": "via filippo marinetti 221",
"cap_titolare": "00143",
"provincia_titolare": "rm",
"email": "info@openapi.it",
"nome_richiedente": "Mario",
"cognome_richiedente": "Rossi",
"sesso_richiedente": "M",
"cf_richiedente": "MRXXXXXXXXXXXF",
"documento_identita": "d64681184e3637335b606acdfa79b927.pdf",
"modulo_attivazione": "75a9580aeb9a97d050cd00118bceb7f8.pdf",
"callback": {
"url": "https://mysite.it/callback.php",
"field": "data",
"method": "POST",
"data": {}
},
"data_nascita_richiedente": null,
"telefono": null,
"cellulare": null,
"stato": "attivo",
"tipo_account": "forfettario",
"username": "username@url.it",
"password": "iujedwhn324234",
"fatture": 50,
"fatture_extra": 200,
"ragioni_sociali_extra": 0,
"timestamp_creazione": 1655807719,
"timestamp_ultima_modifica": 1655816051,
"timestamp_scadenza": 1939728960,
"owner": "gcloud-tests@openapi.it",
"autorinnovo": false,
"id": "62b19eea2f7b5264ce34ac29"
},
"success": true,
"message": "",
"error": null
} |
ENDPOINTS