This documentation is for the v3 (stable) version of the API.
Invocation URL: /v3/fastlabel/contactdetail

Descripton:

Gets the details for a contact based on their AccountNo (ie, your reference number)

Parameters:

AccountNo - The Account Number identifying the contact

Returns:

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.

Example:

https://api.fastway.org/v3/fastlabel/contactdetail/11111?api_key=YOUR_API_KEY

Back to FastLabel