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

# \_descriptionSet

Set a Stock item's description

### Parameters

#### id

Integer ID for the Stock item.

#### val

String. New description for the Stock item.

### Example

```
FM_api('Stock_descriptionSet',
	[
		'id'=>'7',
		'val'=>'PLA filament for 3D printers. Melt point 185deg Celsius'
	]
);
```

### Example Result

```
{"ok":"1"}
```
