Create a Subscriber

Use the POST method to create a new subscriber.

Documentation for the Fuel Java SDK can be found at http://salesforce-marketingcloud.github.io/FuelSDK-Java/

You can provide the following values for the props property on the object:

  • EmailAddress

    • String datatype
    • Contains the email address for a subscriber
  • SubscriberKey

    • String datatype
    • Identification of a specific subscriber
  • UnsubscribedDate

    • DateTime datatype
    • Represents date subscriber unsubscribed from a list
  • Status

    • SubscriberStatus datatype

    • Defines status of object

    • Valid Values

      • Active
      • Held
      • Unsubscribed
  • EmailTypePreference

    • String datatype

    • Description

    • Valid Values

      • Text
      • HTML
  • Attributes

    • Array datatype

    • Name

      • String datatype
      • Name of the profile attribute
    • Value

      • String datatype
      • Value of the profile attribute
  • Lists

    • Array datatype

    • ID

      • Int32 datatype
      • Identifies the list