Overview
The Locations API manages physical addresses where business entities operate, including registered offices, operating addresses, warehouses, branches, and points of sale. Locations are used for nexus determination, compliance tracking, and employee management.Core endpoints
List locations
Get all locations for a business entity.| Parameter | Type | Description |
|---|---|---|
businessEntityId | integer | Unique identifier for the business entity |
Get location
Retrieve a single location by ID.| Parameter | Type | Description |
|---|---|---|
businessEntityId | integer | Business entity ID |
locationId | string | Location ID |
Create location
Add a new location to a business entity.| Parameter | Type | Description |
|---|---|---|
businessEntityId | integer | Business entity ID |
Update location
Update an existing location.| Parameter | Type | Description |
|---|---|---|
businessEntityId | integer | Business entity ID |
locationId | string | Location ID |
200 OK on success.
Delete location
Remove a location from a business entity.| Parameter | Type | Description |
|---|---|---|
businessEntityId | integer | Business entity ID |
locationId | string | Location ID |
204 No Content on success.
Location types
A single location can have multiple types:| Type | Description | Use case |
|---|---|---|
REGISTERED_OFFICE | Official legal address on file with authorities | Required for corporate filings |
OPERATING | Primary business operations location | Main office or headquarters |
MAILING | Correspondence address | Where mail is received |
HEADQUARTERS | Main administrative office | Corporate HQ |
POINT_OF_SALE | Retail or customer-facing location | Stores, showrooms |
WAREHOUSE | Inventory storage facility | Distribution centers |
BRANCH | Secondary office location | Regional offices |
EMPLOYEE_WORK_LOCATION | Where staff are based | Remote offices, coworking spaces |
Address fields
| Field | Type | Required | Description |
|---|---|---|---|
addressLine1 | string | Yes | Street address |
addressLine2 | string | No | Apartment, suite, unit, building, floor |
city | string | Yes | City or locality |
state | string | Conditional | State/province (required for US, Canada, India, Australia) |
postalCode | string | Yes | ZIP/postal code |
country | string | Yes | ISO 3166-1 alpha-2 country code |
Employee tracking
Track employee count at each location for:- Payroll tax nexus determination
- Workers’ compensation requirements
- Local tax obligations
- Headcount reporting
employeeCount as staff levels change.
Nexus determination
UsestartDate to track when physical presence began in a jurisdiction. This is critical for:
- Sales tax nexus
- Income tax nexus
- Payroll tax obligations
- Registration requirements
Location sources
Locations can be created from multiple sources:| Source | Description |
|---|---|
COMMENDA | Manually entered in CommendaOS |
GUSTO | Synced from Gusto payroll |
RIPPLING | Synced from Rippling HRIS |
JUSTWORKS | Synced from Justworks |
DEEL | Synced from Deel |
sourceId for reference back to the originating system.
Time periods
Track location validity withstartDate and endDate:
startDate: When the location became active (required)endDate: When the location was closed (optional, null for active locations)
Related resources
- Business Entity API - Manage parent business entities
- Registrations API - Registrations triggered by location nexus