Function   /contact/get

Function invocation

https://json.aftermarket.pl/contact/get

Function description

Returns contact profile data.

Input parameters

This function takes the following input parameters:

ParameterTypeRequiredDefault valueDescription
contactId integer YES Contact profile id (/contact/list)
contact_id integer 0 Contact profile id (deprecated, please use 'contactId' parameter)

Return value

Contact profile data (structure with the following fields):

Field nameTypeDescription
address string Address
address2 string Additional address part (deprecated and unused)
city string City
company string Company name (deprecated, this value is given in 'name' field)
contactId integer Contact profile id
country string Country
default boolean Default profile
email string Contact profile email address
eu boolean Contact country placed in European Union
fax string Fax number (deprecated and unused)
fname string First name (deprecated, this value is given in 'name' field)
hidden boolean Contact is set as hidden
linkedDomains integer Domains count assigned to profile
name string Contact name
lname string Last name (deprecated, this value is given in 'name' field)
memberId integer User id
person boolean Contact represents private person
phone string Phone number
profileName string Profile name
zip string ZIP - Postal code