Skip to main content
GET
/
api
/
v1
/
locations
curl --request GET \
  --url 'https://transaction-tax.api.in.commenda.io/api/v1/locations?corporation_id=550e8400-e29b-41d4-a716-446655440000&limit=20' \
  --header 'Authorization: Bearer <your_token>'
{
  "message": "Successfully fetched locations.",
  "data": {
    "locations": [
      {
        "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
        "corporation_id": "550e8400-e29b-41d4-a716-446655440000",
        "address": {
          "address_line_1": "123 Main Street",
          "city": "San Francisco",
          "state": "CA",
          "postal_code": "94105",
          "country": "US"
        },
        "location_types": ["HEADQUARTERS", "REGISTERED_OFFICE"],
        "is_primary": true,
        "is_active": true,
        "start_date": "2024-01-01",
        "created_at": "2024-01-15T10:30:00Z",
        "updated_at": "2024-01-15T10:30:00Z"
      }
    ],
    "cursor": "eyJpZCI6ImIyYzNkNGU1..."
  }
}
Retrieve all locations associated with a corporation. Supports cursor-based pagination and optional filtering by jurisdiction.

Query parameters

corporation_id
string
required
The unique identifier (UUID) for the corporation.
limit
integer
Number of results per page. Default: 10, maximum: 100.
cursor
string
Pagination cursor from a previous response.
jurisdiction_ids
string
Comma-separated list of jurisdiction IDs to filter by.Example: JUR_US_STATE_CA,JUR_US_STATE_TX
curl --request GET \
  --url 'https://transaction-tax.api.in.commenda.io/api/v1/locations?corporation_id=550e8400-e29b-41d4-a716-446655440000&limit=20' \
  --header 'Authorization: Bearer <your_token>'
{
  "message": "Successfully fetched locations.",
  "data": {
    "locations": [
      {
        "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
        "corporation_id": "550e8400-e29b-41d4-a716-446655440000",
        "address": {
          "address_line_1": "123 Main Street",
          "city": "San Francisco",
          "state": "CA",
          "postal_code": "94105",
          "country": "US"
        },
        "location_types": ["HEADQUARTERS", "REGISTERED_OFFICE"],
        "is_primary": true,
        "is_active": true,
        "start_date": "2024-01-01",
        "created_at": "2024-01-15T10:30:00Z",
        "updated_at": "2024-01-15T10:30:00Z"
      }
    ],
    "cursor": "eyJpZCI6ImIyYzNkNGU1..."
  }
}