cURL
curl --request GET \ --url https://api.prod.commenda.io/api/v1/public/business-entities/{businessEntityId}/locations/{locationId} \ --header 'x-api-key: <api-key>'
{ "location": { "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 } }
Retrieve a single location for a business entity.
Commenda business-entity identifier.
Commenda location identifier.
Location retrieved successfully
Show child attributes