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

# \_supplierAdd

Add Supplier

### Parameters

#### name

String. Name of the new supplier to be created

### Example

```
    FM_api('Stock_supplierAdd',
            [
                    'name'=>'Test Supplier'
            ])
    );
```

### Result

Returns the id and name of the newly-created supplier.

```
    {"id": "56", "name":"Test Supplier"}
```
