Returns the nominal code of a selected Stock item.

Parameters

id

Integer. The ID of the stock item.

Example

FM_api('Stock_nominalGet',
	[
	 'id'=>'2'
	]
);

Result

On Success

The nominal code of the stock item is returned.

Example:

		"2000"

On Failure

If no stock ID provided:

	{"error":"no stock id provided"}