_listByIds

Get a list of codes and names for specified stock

Parameters

ids

Array of integers. Each value should be the ID of a requested Stock item

Example

FM_api('Stock_listByIds',
	[
		'ids'=>['7', '4']
	]
);

Example Result

[{"id":"4","name":"34W Fan Motor","code":"n\/a"},{"id":"7","name":"2kg 1.75mm PLA Filament","code":"PLA001"}]

The returned object is an array of Stock items

Last updated