Update a company
Update CRM status, assignment or contact details. Omitted fields stay unchanged; null clears nullable fields.
Permissions: Companies: read and write.
/companies/{orgNr}Authorization
bearerAuth Create a key in Aventra → Innstillinger → API-nøkler.
In: header
Path Parameters
^\d{9}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/companies/923609016" \ -H "Authorization: Bearer $AVENTRA_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "status": "customer" }'{ "data": { "id": "4d73dca4-7537-4f9c-924e-8bccd354663f", "orgnr": "923609016", "name": "Eksempel AS", "status": "customer", "assigned_to": null, "source": "api", "org_form": "AS", "registered_at": "2019-10-16", "employees": 8, "nace_primary": "62.010", "email_address": null, "phone_number": null, "mobile_number": null, "website_url": null, "is_archived": false, "is_deleted": false }}See authentication, errors and retry guidance.
Create or find a company
Add a Norwegian company by organisation number. Aventra supplies the register details. An existing company is returned without changing it.
Add a company note
Add a plain-text note to a company's activity timeline through the Aventra CRM API. Notes are attributed to the API key creator.