_getCustomFields

Returns the values of specified custom fields for a particular customer

Parameters

id

The id of the Customer

fields

Array of custom fields required

Example

FM_api('Customer_getCustomFields', ['id'=>'12', 'fields'=>['custom1', 'custom2', 'custom3']]);

On Success

 {"id":12, "fields":["1", "2", ["3a", "3b"]]}

On Failure

If no id parameter is provided

{"error":"no 'id' parameter"}

If no fields parameter is provided

{"error":"no 'fields' parameter"}

If no data found for that customer id

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

Last updated