_setName
Set the name of a Stock item
Parameters
id
Integer ID for the stock item.
val
String. The new name for the item
Example
Result
If you try to update a Stock name to the name it already has, you will get a warning:
Last updated