_supplierAdd
Add Supplier
Parameters
name
String. Name of the new supplier to be created
Example
FM_api('Stock_supplierAdd',
[
'name'=>'Test Supplier'
])
);
Result
Returns the id and name of the newly-created supplier.
{"id": "56", "name":"Test Supplier"}
Last updated