Gets the details for a contact based on their AccountNo (ie, your reference number)
AccountNo - The Account Number identifying the contact
An object with the contact information, or an error if the contact does not exist.
The structure of the returned object is as follows:
{
'result': [{
'AccountNo': '1232113'
'Company': 'Good Grocers'
'ContactName' : 'Tom Good'
'StreetAddress' : '34 Romanes Drive'
'Suburb' : 'Tawa'
'City' : 'Havelock North 1'
'Postcode' : null
'Phone' : '06 8340936'
'EmailAddress': null
}]
'generated_in': '62ms'
}
Note: An array of objects is returned because the AccountNo is not a unique field in the database and there could be multiple matches.
https://api.fastway.org/v2/fastlabel/contactdetail/11111?api_key=fc02f7481690e29cc62b6f816fb8cfde