cURL
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.
Commenda business-entity identifier.
Locations retrieved successfully
Show child attributes
1