cURL
curl --request PUT \ --url https://api.contazen.ro/v1/clients/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "email": "jsmith@example.com", "phone": "<string>", "cui": "<string>", "cui_prefix": "<string>", "rc": "<string>", "address": "<string>", "city": "<string>", "county": "<string>", "country": "<string>", "postal_code": "<string>", "iban": "<string>", "bank": "<string>", "contact_person": "<string>" } '
{ "success": true, "data": { "id": "cli_1a2b3c4d5e", "object": "client", "name": "<string>", "email": "jsmith@example.com", "phone": "<string>", "cui": "<string>", "cui_prefix": "<string>", "rc": "<string>", "client_type": "b2b", "address": "<string>", "city": "<string>", "county": "<string>", "country": "<string>", "postal_code": "<string>", "iban": "<string>", "bank": "<string>", "contact_person": "<string>", "created_at": 123, "updated_at": 123, "metadata": { "invoices_count": 123, "unpaid_total": 123 } }, "meta": { "version": "v1", "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "response_time": "23.45ms" } }
Update an existing client
Use your API key (sk_live_xxx or sk_test_xxx)
Client CzUid
All fields optional — only provided fields are updated.
1 - 255
Bank name
Client updated
Show child attributes
Was this page helpful?