Sets the mobile phone number of a Customer.
The ID of the chosen Customer.
The typed notes that the user wishes to add to a Customer.
FM_api( 'Customer_setMobile',[ 'id' => '653093', 'val' => '+3535557777777' ] );
If nothing is changed from running this function:
If there is no "id" variable or the ID given is less than 1:
If the "val" parameter is not set:
If the "id" parameter does not match the ID of an existing customer:
Last updated 1 year ago
{"ok":1}
{"ok":1,"msg":"no change needed"}
{"error":"missing or invalid parameter: id"}
{"error":"missing or invalid parameter: val"}
{"error":"customer does not exist"}