Sets the Town for a Customer address.

Parameters

id

The ID of the Customer.

val

The town to be set.

Example

FM_api('Customer_setTown', ['id' => '123', 'val' => 'Newry']);

Result

On Success

{'ok':1}