_get

Get Stock Category record data.

Parameters

id

The ID of the Stock Category to get.

Example

FM_api('StockCategory_get', ['id' => '1']);

Result

On Success

{"id":"1","name":"Door","parent_id":"0","stock":"1","last_edited":"2018-09-19 12:00:29"}

On Failure

If the Stock Category does not exist, then the result will be: {"false"}

Last updated