Returns Customer department ID

Parameters

id

The ID of the Customer

Example

FM_api('Customer_getDepartmentId', ['id'=>'1']);

On Success

{"ok":1,"department_id":3}