_getSome

Returns given Customers details

Parameters

ids

The IDs of the Customers to retrieve

Example

FM_api('Customers_getSome', ['ids'=> ['1', '2', '3']]);

On Success

{"account_number":"34","id":"1","name":"The Cafe","notes":"[]","email":"jenny2056@hotmail.co.uk","last_edited":"2018-11-27 12:19:27","industry":"","parent_id":"-1","street_address1":"18 Canal st","street_address2":"","town":"Newry","county":"Armagh","postcode":"BT34","landline":"02841753979","mobile":"","contact_name":"Emily","cdate":"2018-09-19 11:52:56","custom_values":"[]","callback":null,"account_manager":"0","type":"","meta":null,"callback_notes":null,"latitude":"54.1685","longitude":"-6.34009","is_ac"...}

On Failure

If no ids parameter is provided

{"error":"no ids parameter provided"}

If there is no customer with the provided id

"[]"

Last updated