The Subscription Object is used to pass information regarding a user's subscription status to a specific newsletter or service. The structure of the Subscriptions Object is as follows, where the available fields are listed below:
Where <subscriptionID> is the name of this subscription in your site's schema.
Subscriptions Object Data Members
|<subscriptionID>||JSON object||Includes the email object, below.|
Email Object Data Members
|isSubscribed||Boolean||The status of the user's subscription to this service.|
|tags||array of strings||An array of tags that you can define which are associated with the subscription.|
|lastUpdatedSubscriptionState||string||The time when the isSubscribed value was last changed in ISO 8601 format, e.g., "2017-07-16T19:20:30Z".|
You can create a nested set of subscriptions by using a namespace when defining the subscriptionID to categorize different groups of subscriptions.
Below is an example response of nested subscriptions: