_getCreditTerms

Gathers credit terms from a Customer with a given ID

Parameters

id

The ID of the Customer

Example

FM_api('Customer_getCreditTerms',[
  'id'=>'682910'
]);

Results

On Success

{"credit_terms":"test credit term"}

On Failure

If no "id" parameter is provided or it has a value less than 1:

{"error":"missing or invalid parameter: id"}

If the "id" parameter does not match an existing customer:

{"error":"customer does not exist"}

Last updated