# \_setState

Sets the state for a customers address.

### Parameters

#### id

The ID of the customer.

#### value

The state you wish to set.

### Example

FM\_api('Customer\_setState', \['id' => '123', 'val' => 'Texas']);

### Result

#### On Success

```
{'ok':1}
```
