_new
Creates a new Quote for a Customer.
Parameters
user_id
The ID of the User.
customer_id
The ID of the Customer.
total_tax
The total tax amount.
total_gross
The total gross amount.
total_net
The total net amount.
Example
FM_api('Quote_new', ['user_id' => '123', 'customer_id' => '456', 'total_tax' => 1.00, 'total_gross' => 1.00, 'total_net' => 4.00]);
Result
On Success
{'ok':1,'id':'123'}
On Failure
If the specified User does not exist:
{'no such user'}
If the specified Customer does not exist:
{'error':'no such customer'}
Last updated