Hey! These docs are for version 1.0, which is no longer officially supported. Click here for the latest version, 2.0!

contact object

Properties of the contact object. Contacts are always childs of existing customers.

{
  /* id of object, set by Upodi */
  "id": "guid",
  /* required. id of the parent customer */
  "customerid": "guid",
  /* required. defines the type of contact. 8=invoice is sent to contact, 16= Delivery  adress is used from contact, 32= EAN contact. Uses combined value of flags (fx 24=invoice is sent to contant and delivery to) */
  "contacttype": "int",
  /* required */
  "fullname": "string", 
  /* custom key, example a remote id */
  "refkey": "string", 
  "primaryemail": "string",
  "homephone": "string",
  "businessphone": "string",
  "mobilephone": "string",
  "addressline1": "string",
  "addressline2": "string",
  /* text field */
  "note": "string",
  /* address city */
  "city": "string",
  "postalcode": "string",
  /* address country */
  "country": "string",
  /* address county */
  "county": "string",
  /* address state */
  "state": "string",
  "createdby": "guid",
  "modifiedby": "guid",
  "createdbyuser": "userprofile object",
  "modifiedbyuser": "userprofile object",
  "createddate": "datetime",
  "modifieddate": "datetime"
}