Skip to main content
PUT
Update a legal entity
Takes the same body as create. The entity’s ledger id and invoice sequence are system-managed and cannot be changed here.

Request body

Example request

The updated entity comes back in the standard data envelope — same shape as Get an Entity.

Authorizations

Authorization
string
header
required

Tenant API key obtained from POST /auth/register or POST /v1/developer/keys.

Path Parameters

id
string<uuid>
required

Body

application/json
name
string
required
invoice_prefix
string

Optional; defaults to a slug of the name.

country_code
string

ISO 3166-1 alpha-2. country is accepted as an alias; country_code wins if both are sent.

Required string length: 2
country
string

Alias for country_code (the field /auth/register uses).

Required string length: 2

Response

Entity updated.

data
object

A legal entity under a tenant (Multi-Entity Books). Each entity has its own ledger and invoice series; every tenant has exactly one primary entity.