Insert/Update subscriber

Request:
Type: POST
Url: https://api.makenewsmail.com/v3/subscribers?subscriber_list_id=listid

If the emailaddress already exists the subscriber will be updated, else a new subscriber will be created.

Attribute Type Description
id int The Make Newsmail id representing the subscriber
email string Your email address for the subscriber
firstname string Your firstname for the subscriber
lastname string Your lastname for the subscriber
address string Your address for the subscriber
zip sting Your postcode for the subscriber
city string Your city for the subscriber
phone string Your phone for the subscriber
mobile string Your mobile for the subscriber
firm string Your firm for the subscriber
age string Your age for the subscriber
gender string Your gender for the subscriber
extra1 string Your custom field for the subscriber
extra2 string Your custom field for the subscriber
extra3 string Your custom field for the subscriber
extra4 string Your custom field for the subscriber
extra5 string Your custom field for the subscriber
extra6 string Your custom field for the subscriber
extra7 string Your custom field for the subscriber
extra8 string Your custom field for the subscriber
extra9 string Your custom field for the subscriber
extra10 string Your custom field for the subscriber
extra11 string Your custom field for the subscriber
extra12 string Your custom field for the subscriber
extra13 string Your custom field for the subscriber
extra14 string Your custom field for the subscriber
extra15 string Your custom field for the subscriber
extra_date1 datetime Your custom field for the subscriber
extra_date2 datetime Your custom field for the subscriber
extra_date3 datetime Your custom field for the subscriber
extra_date4 datetime Your custom field for the subscriber
extra_date5 datetime Your custom field for the subscriber
date_created timestamp Your time the subscriber was created
date_updated timestamp Your time the subscriber was updated

Example POST CREATE request

{
  "id": 10267, 
  "email": "john@doe.com",
  "firstname": "John",
  "lastname": "Doe",
  "address": "Doeville 11",
  "zip": "0458",
  "city": "Oslo",
  "phone": "22222222",
  "mobile": "99999999",
  "firm": "John Doe AS",
  "age": "45",
  "gender": "Male",
  "extra1": "",
  "extra2": "",
  "extra3": "",
  "extra4": "",
  "extra5": "",
  "extra6": "",
  "extra7": "",
  "extra8": "",
  "extra9": "",
  "extra10": "",
  "date_created": "2015-09-10T09:41:33.000Z",
  "date_updated": "2015-09-10T13:11:52.000Z"
}

Example POST UPDATE request

{
  "id": 10267,
  "email": "sally@doe.com",
  "firstname": "Sally",
  "lastname": "Doe",
  "address": "Doeville 11",
  "zip": "0458",
  "city": "Oslo",
  "phone": "22222222",
  "mobile": "99999999",
  "firm": "Sally Doe AS",
  "age": "45",
  "gender": "Female",
  "extra1": "",
  "extra2": "",
  "extra3": "",
  "extra4": "",
  "extra5": "",
  "extra6": "",
  "extra7": "",
  "extra8": "",
  "extra9": "",
  "extra10": "",
  "extra11": "",
  "extra12": "",
  "extra13": "",
  "extra14": "",
  "extra15": "",
  "extra_date1": "",
  "extra_date2": "",
  "extra_date3": "",
  "extra_date4": "",
  "extra_date5": "",
  "date_created": "2014-11-10T09:41:33.000Z",
  "date_updated": "2015-12-10T13:11:52.000Z"
}