# BrightLocal

> Find and manage business locations.

App · 5 actions. Web page: https://docs.lodol.com/docs/integrations/brightlocal

## Actions

### Create a business location

Add a location to your BrightLocal account.

**Inputs**

- Business name (`business_name`, text, required): The public business name.
- Location reference (`location_reference`, text, required): Your unique reference for this location.
- Country (`country`, text, required): Choose the country the business is in. One of: `AUS`, `CAN`, `DEU`, `HKG`, `IRL`, `MAC`, `NLD`, `NZL`, `PHL`, `SGP`, and 4 more.
- Street address (`street_address`, text, required): The primary street address.
- Region (`region`, text): The state or province.
- City (`city`, text): The city for this location.
- Postal code (`postal_code`, text): The postal or ZIP code.
- Telephone (`telephone`, text, required): The primary business phone number.
- Business category ID (`business_category_id`, number, required): The ID of the primary business category.
- Website URL (`website_url`, text, required): The public business website.
- Description (`description`, text): A short business description.

**Outputs**

- `data` (object): The response from BrightLocal.

**Example output**

```json
{
  "data": {
    "business_name": "example",
    "country": "example",
    "id": 1,
    "location_reference": "example"
  }
}
```

### Delete a business location

Remove a business location from your account.

**Inputs**

- Location (`location_id`, number, required): Choose a business location.

**Outputs**

- `data` (object): The response from BrightLocal.

**Example output**

```json
{
  "data": {}
}
```

### Find business locations

Find business locations by reference or client.

**Inputs**

- Page (`page`, number): The page number. At least 1.
- Client ID (`client_id`, number): The client ID.
- Location reference (`location_reference`, text): Your unique location reference.

**Outputs**

- `data` (object): The response from BrightLocal.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "business_name": "example",
        "country": "example",
        "id": 1,
        "location_reference": "example"
      }
    ]
  }
}
```

### Get a business location

Read a location’s business information.

**Inputs**

- Location (`location_id`, number, required): Choose a business location.

**Outputs**

- `data` (object): The response from BrightLocal.

**Example output**

```json
{
  "data": {
    "business_name": "example",
    "country": "example",
    "id": 1,
    "location_reference": "example"
  }
}
```

### Update a business location

Edit the name, phone, or description of a location.

**Inputs**

- Location (`location_id`, number, required): Choose a business location.
- Business name (`business_name`, text): The public business name.
- Telephone (`telephone`, text): The primary business phone number.
- Description (`description`, text): A short business description.

**Outputs**

- `data` (object): The response from BrightLocal.

**Example output**

```json
{
  "data": {
    "business_name": "example",
    "country": "example",
    "id": 1,
    "location_reference": "example"
  }
}
```
