_add

Create a new Stock Category

Parameters

parent_id

The ID of the parent stock category.

name

Name of the Stock Category to be added.

Example

FM_api('StockCategory_add', ['parent_id' => '0', 'name' => 'Fire']);

Result

On Success

{"ok":1,"id":3}

Last updated