# \_get

Retrieve a Customers data.

### Parameters

#### id

The ID of the Customer to retrieve.

**fields** (optional)

Optional JSON array (of the form `["id", "name", "notes", ...]`,) of fields that should be returned. As of now, the full list of valid field names is: department\_id, account\_number, id, name, notes, email, last\_edited, industry, parent\_id, street\_address1, street\_address2, town, county, postcode, landline, mobile, contact\_name, cdate, created\_by, custom\_values, callback, account\_manager, type, meta, callback\_notes, latitude, longitude, is\_active, city, state, country, last\_edited\_all, is\_flagged, contacts

### Example

```
FM_api('Customer_get', ['id' => '3']);
```

### Result

#### On Success

```
{"account_number":"","id":"1","name":"The Cafe","notes":"[]","email":"thecafe@hotmail.co.uk","last_edited":"2018-10-01 10:18:38","industry":"","parent_id":"-1","street_address1":"58 Milltown street","street_address2":"","town":"","county":"Down","postcode":"BT34 3PU","landline":"02841753979","mobile":"","contact_name":"Emily","cdate":"2018-09-19 11:52:56","created_by":"82878","custom_values":"[]","callback":null,"account_manager":"0","type":"","meta":null,"callback_notes":null,"latitude":"54.1276","longitude":"-6.26376","is_active":"1","city":"Newry","state":"","country":"GBR"}
```
