Skip to main content
GET
/
public
/
business-entities
/
{businessEntityId}
/
locations
List locations for a business entity
curl --request GET \
  --url https://api.prod.commenda.io/api/v1/public/business-entities/{businessEntityId}/locations \
  --header 'x-api-key: <api-key>'
{
  "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
    }
  ],
  "count": 1
}
List locations attached to a business entity.

Authorizations

x-api-key
string
header
required

Path Parameters

businessEntityId
integer
required

Commenda business-entity identifier.

Response

Locations retrieved successfully

locations
object[]
required
count
integer
required
Example:

1