Adds any subscriber not on the specified list and updates any specified attributes

Subscribers.Upsert(1, 2)

1stringRequiredAttribute containing Email address of subscriber or a JSON object containing the EmailAddress and SubscriberKey values for the subscriber
2stringRequiredAny additional attributes regarding the subscriber. If the Status attribute exists in the passed attributes, it updates the subscriber status

This sample code adds the specified values to the subscriber.