_save
Save changes to an Account Category.
Parameters
id
The ID of the Account Category to be updated. If no id supplied, a new Account Category will be created.
name
The name of the Account Category
tax_rate
The percentage tax_rate of the Account Category (float or integer)
group_id
The ID of an existing Account Category Group to which the Category will belong
Example
FM_api('AccountCategory_save', ['id'=>'14', 'name'=>'Cost Of Sales', 'tax_rate'=>'23', 'group_id'=>'10']);
Result
On Success
{"ok":1}
On Failure
If invalid parameter(s) supplied, returns false.
false
Last updated