Retrieve a contact

GET/accounting/{connection_id}/contact/{id}

Parameters

fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Contact

Returns

idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
first_namestring
last_namestring
emails array
telephones array
currencystring
billing_addressobject
shipping_addressobject
is_activeboolean
tax_exemption enum
Valid values:
"FEDERAL_GOV"
"REGION_GOV"
"LOCAL_GOV"
"TRIBAL_GOV"
"CHARITABLE_ORG"
tax_numberstring
The ID/number of the customer's tax number. This is also known as the ABN (Australia), GST Number (New Zealand), VAT Number (UK) or Tax ID Number (US and global).
is_customerboolean
is_supplierboolean
portal_urlstring
URL for the contact’s portal
payment_methods array
company_namestring
identificationstring
contact account numbers such as registration, A membership or identification reference to help to identify and search customers
associated_contacts array
organization_idstring
const options = {
  method: 'GET',
  url: 'https://api.unified.to/accounting/5de520f96e439b002043d8dc/contact/5de520f96e439b002043d8d8',
  headers: {
    authorization: 'bearer .....'
  },
  params: {
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
Are we missing anything? Let us know
Was this page helpful?