Skip to main content
PATCH
/
partner
/
commenda-os
/
companies
/
{companyId}
/
business-entities
/
{businessEntityId}
Update a business entity
curl --request PATCH \
  --url https://api.prod.commenda.io/api/v1/partner/commenda-os/companies/{companyId}/business-entities/{businessEntityId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "legalName": "Acme Holdings Pte. Ltd.",
  "businessDescription": "Investment holding company.",
  "publicFacingWebsiteUrl": "https://acme.example"
}
'
{
  "businessEntity": {
    "id": 44,
    "generalCorporationInfo": {
      "legalName": "Acme Holdings LLC",
      "companyId": 77,
      "businessEntityType": "LLC",
      "incorporationCountry": "US",
      "jurisdiction": "DE",
      "uniqueIdentifierFromJurisdiction": {
        "name": "EIN",
        "value": "12-3456789"
      },
      "primaryTaxIdType": "US_EIN",
      "rootfiCompanies": [
        {
          "id": 1001,
          "connectionStatus": "CONNECTED",
          "syncStatus": "COMPLETED"
        }
      ],
      "dbaName": "Acme",
      "formationDate": "2025-01-01",
      "registeredAddress": {},
      "contactPhone": "+14155550123",
      "entityEmail": "founders@acme.com",
      "taxIds": [
        {
          "type": "US_EIN",
          "name": "Employer Identification Number",
          "value": "12-3456789"
        }
      ],
      "publicFacingWebsiteUrl": "https://acme.com",
      "industryCode": {},
      "businessDescription": "<string>",
      "businessPurpose": "<string>",
      "registeredAgent": {},
      "dateOfClosure": "<string>"
    },
    "accountingInfo": {
      "fiscalYear": {},
      "accountingBasis": "<string>",
      "accountingFrequency": "<string>",
      "countrySpecificFields": {},
      "bankAccounts": [
        {
          "id": "<string>"
        }
      ],
      "accountingFirm": {}
    },
    "featureSpecificInfo": {},
    "entityRelationship": {},
    "lastUpdateTime": "2026-03-01T00:00:00.000Z",
    "locationsInfo": {},
    "stakeholderId": "<string>",
    "onboardingInfo": {},
    "structure": {
      "initialSharesAuthorized": 123,
      "initialSharePrice": 123,
      "esopSharePercentage": 123
    },
    "locations": [
      {
        "id": "loc_123",
        "corporationId": 44,
        "locationTypes": [
          "OPERATIONS"
        ],
        "address": {
          "addressLine1": "548 Market St",
          "postalCode": "94104",
          "country": "US",
          "addressLine2": "Suite 21045",
          "addressLine3": "<string>",
          "city": "San Francisco",
          "state": "CA"
        },
        "createdAt": 1735689600000,
        "updatedAt": 1735776000000,
        "_internalAddressId": 9876,
        "name": "Delaware HQ",
        "startDate": "2025-01-01",
        "employeeCount": 12
      }
    ],
    "governmentIdentifiers": [
      {
        "country": "US",
        "corporationId": 44,
        "corporationType": "LLC",
        "key": "US_EIN",
        "displayName": "Employer Identification Number",
        "shortName": "EIN",
        "description": "US federal tax identifier issued by the IRS.",
        "purposes": [
          "TAXATION"
        ],
        "supportingDocument": {
          "id": 900,
          "fileName": "ein-letter.pdf",
          "fileUrl": "https://bucket.s3.amazonaws.com/ein-letter.pdf",
          "type": "EINLetter",
          "category": "TAX_AND_COMPLIANCE_DOCUMENT",
          "fileTypeSpecifiers": [
            ".pdf"
          ]
        },
        "isFunctionCritical": true,
        "isCustom": false,
        "linkedRegistrations": [
          {
            "internalIdentifier": "US_EIN",
            "displayName": "Employer Identification Number",
            "purpose": "TAXATION"
          }
        ],
        "id": "gov_123",
        "jurisdiction": "DE",
        "value": "12-3456789",
        "createdAt": 1735689600000,
        "lastUpdatedAt": 1735776000000,
        "regexString": "<string>"
      }
    ]
  }
}
Partially update a reusable Commenda OS business entity. Use this endpoint to complete corporate shareholder details before registering the business entity as an incorporation participant, or before re-running incorporation validation after Commenda requests corrections.

Authorizations

x-api-key
string
header
required

Path Parameters

companyId
integer
required

Commenda company identifier accessible to the authenticated partner.

businessEntityId
integer
required

Commenda business-entity identifier for the specified company.

Body

application/json

Partially update a reusable Commenda OS business entity. Omitted fields are left unchanged.

Required string length: 1 - 1024
Example:

"Acme Holdings Pte. Ltd."

dbaName
string
Required string length: 1 - 1024
Example:

"Acme"

businessCode
string
Maximum string length: 128
Example:

"64202"

businessDescription
string
Maximum string length: 4096
Example:

"Investment holding company."

dateOfClosure
string<date-time>

ISO 8601 closure date.

Example:

"2026-03-01T00:00:00.000Z"

accountingBasis
string
Example:

"CASH"

taxedAs
string
Example:

"CORPORATION"

bookkeepingFrequency
string | null
Example:

"MONTHLY"

nonUSBusinessEntityEIN
string

Temporary non-US EIN handling field.

Example:

"12-3456789"

requestedEIN
boolean

Temporary non-US EIN handling field.

Example:

false

publicFacingWebsiteUrl
string<uri>
Example:

"https://acme.example"

fiscalYearDay
integer
Required range: 1 <= x <= 31
Example:

31

fiscalYearMonth
integer
Required range: 1 <= x <= 12
Example:

12

naicsCode
string

NAICS business code.

Example:

"551112"

isIncorporationInProgress
boolean
Example:

false

countrySpecificFields
object

Country-specific update payloads supported by the underlying Commenda OS business entity API.

Response

Business entity updated successfully

businessEntity
object
required