_checkAccountNumberIsUnique

Checks if a Customer's Account Number is Unique

Parameters

id

The id of the customer to be checked.

account_number

The account number of the customer being checked.

Example

FM_api('Customer_checkAccountNumberIsUnique',[
  'id'=>'76943',
  'account_number'=>'12345'
  ]
);

Result

On Success

{"ok":1}

On Failure

If the "id" parameter is not included:

If the "account_number" parameter is not included:

If there is already another Customer with the same account number as the "account_number" parameter:

Last updated