Divendo API 2.0

We’ve rebuilt our API from the ground up to be easier than ever to integrate our platform with your favourite software

Contact

id Type:String Read only:True The unique record identifier
created Type:DateTime Read only:True The timestamp the record was created
emails* Type:String[] Read only:False Array of Email addresses
name * Type:Name Read only:False The name of the contact
address * Type:Address Read only:False Postal address of the contact
numbers* Type:String[] Read only:False Array of Contact numbers
customernumber * Type:String Read only:False The internal customer number of the contact
customernumber * Type:String Read only:False The internal account number of the contact
address * Type:Contact Preferences Read only:False Optin preferences relating to the contact

Example

{
  "id": "5643eff487bb38127c11e624",
  "created": "2015-04-10T17:00:00+01:00",
  "emails": [
    "customer@diven.do"
  ],
  "name": {
    "title": "Mr",
    "firstname": "Testing",
    "surname": "Customer"
  },
  "address": {
    "addressline1": "20-22 Wenlock Road",
    "addressline2": "",
    "addressline3": "",
    "towncity": "London",
    "stateprovince": "London",
    "postalcode": "N1 7GU",
    "country": "GB"
  },
  "contactnumbers": [
    "02030869860"
  ],
  "customernumber": "12345678",
  "accountnumber": "",
  "preferences": {
    "email": {
      "optoutreason": null,
      "optoutdate": null
    },
    "post": {
      "optoutreason": null,
      "optoutdate": null
    },
    "sms": {
      "optoutreason": "optout",
      "optoutdate": "2018-03-29T22:23:11.0692722+01:00"
    },
    "phone": {
      "optoutreason": null,
      "optoutdate": null
    }
  }
}