Introduction
Adds or updates a user contact. The ApiUserContact must contain a valid country name and where applicable, a valid state name. Exceptions will be thrown if the country or state is invalid. A valid list of countries can be retrieved by calling GetCountries. A valid list of states for a country can be retrieved by calling GetStates - if no states are returned, then any state name will be accepted for that country. The ApiUserContact parameter must contain a ApiUserCompany. If the company does not already exist, the ID field should be set to 0 and a new company will be created. If the ID is greater than zero, the existing company will be updated. The ApiUserCompany must contain a ApiAccount with a valid account ID.
Parameters

apiKey

The active API Key.

overrideAddressValidation

Whether a user with Contact-Override role would like to override address validation.

sessionId

The active session ID.

userContact

The ApiUserContact to add or update.
Return value
The new or updated ApiUserContact.
Code samples

Loading API Runner...