> 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/_getlocations.md).

# \_getLocations

Returns details of Customer locations

### Parameters

#### id

The ID of the Customer

### Example

```
FM_api('Customer_getLocations', ['id'=>'5']);
```

#### On Success

```
[{"id":"5","name":"TESCO","lat":"54.1819","lng":"-6.3283","address":"10 South road"},{"id":"9","name":"TESCO Banbridge","lat":"56.1819","lng":"-7.3283","address":60 New street}]
```
