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"}