> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/customer/_enable.md).

# \_enable

Enables a Customer record.

### Parameters

#### id

The ID of the Customer you wish to enable.

### Example

```
FM_api('Customer_enable',[
  'id'=>'466369'
]);
```

### Result

#### On Failure

If the "id" parameter is not set or has a value less than 1:

```
{"error":"missing or invalid parameter: id"}
```

If the value of the "id" parameter does not match the ID of an existing Customer:

```
{"error":"customer does not exist"}
```

#### On Success

```
{"ok":1}
```
