Get a business entity for a customer
curl --request GET \
--url https://api.prod.commenda.io/api/v1/partner/commenda-os/customers/{customerId}/business-entities/{businessEntityId} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.prod.commenda.io/api/v1/partner/commenda-os/customers/{customerId}/business-entities/{businessEntityId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.prod.commenda.io/api/v1/partner/commenda-os/customers/{customerId}/business-entities/{businessEntityId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.prod.commenda.io/api/v1/partner/commenda-os/customers/{customerId}/business-entities/{businessEntityId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.prod.commenda.io/api/v1/partner/commenda-os/customers/{customerId}/business-entities/{businessEntityId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.prod.commenda.io/api/v1/partner/commenda-os/customers/{customerId}/business-entities/{businessEntityId}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.prod.commenda.io/api/v1/partner/commenda-os/customers/{customerId}/business-entities/{businessEntityId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"businessEntity": {
"id": 44,
"generalBusinessEntityInfo": {
"legalName": "Acme Holdings LLC",
"customerId": 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",
"businessEntityId": 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,
"name": "Delaware HQ",
"startDate": "2025-01-01",
"employeeCount": 12
}
],
"governmentIdentifiers": [
{
"country": "US",
"businessEntityId": 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>"
}
]
}
}{
"statusCode": 123,
"message": "<string>",
"error": "<string>"
}{
"statusCode": 123,
"message": "<string>",
"error": "<string>"
}{
"statusCode": 123,
"message": "<string>",
"error": "<string>"
}Business Entities
Get a business entity
Retrieve a single business entity for one of your customers.
GET
/
partner
/
commenda-os
/
customers
/
{customerId}
/
business-entities
/
{businessEntityId}
Get a business entity for a customer
curl --request GET \
--url https://api.prod.commenda.io/api/v1/partner/commenda-os/customers/{customerId}/business-entities/{businessEntityId} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.prod.commenda.io/api/v1/partner/commenda-os/customers/{customerId}/business-entities/{businessEntityId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.prod.commenda.io/api/v1/partner/commenda-os/customers/{customerId}/business-entities/{businessEntityId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.prod.commenda.io/api/v1/partner/commenda-os/customers/{customerId}/business-entities/{businessEntityId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.prod.commenda.io/api/v1/partner/commenda-os/customers/{customerId}/business-entities/{businessEntityId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.prod.commenda.io/api/v1/partner/commenda-os/customers/{customerId}/business-entities/{businessEntityId}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.prod.commenda.io/api/v1/partner/commenda-os/customers/{customerId}/business-entities/{businessEntityId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"businessEntity": {
"id": 44,
"generalBusinessEntityInfo": {
"legalName": "Acme Holdings LLC",
"customerId": 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",
"businessEntityId": 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,
"name": "Delaware HQ",
"startDate": "2025-01-01",
"employeeCount": 12
}
],
"governmentIdentifiers": [
{
"country": "US",
"businessEntityId": 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>"
}
]
}
}{
"statusCode": 123,
"message": "<string>",
"error": "<string>"
}{
"statusCode": 123,
"message": "<string>",
"error": "<string>"
}{
"statusCode": 123,
"message": "<string>",
"error": "<string>"
}Retrieve a single business entity for one of your customers.
Authorizations
Path Parameters
Commenda customer identifier.
Commenda business-entity identifier for the specified customer.
Response
Business entity retrieved successfully
Show child attributes
Show child attributes
Was this page helpful?
⌘I