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

# \_new

Creates a new customer type

### Parameters

#### name

Customer type name

### Example

```
FM_api('CustomerType_new', ['name'=>'Cleaning'])
```

### On Success

```
"{"ok":1,"id":12}"
```
