Get a list of names and codes for all stock

This is a much simpler function than Stock_list, which returns more detail. Stock_listItems returns just names and codes for all Stock, including archived Stock.



Example Result

[{"id":"7","name":"2kg 1.75mm PLA Filament","code":"PLA001"},{"id":"4","name":"34W Fan Motor","code":"n\/a"},{"id":"3","name":"another live one","code":"another live one"},{"id":"5","name":"stock4","code":"stock4"},{"id":"6","name":"stock5","code":"stock5"},{"id":"1","name":"test","code":"test"},{"id":"2","name":"test archive","code":"test archive"}]

The returned object is an array of Stock items

Last updated