Email accounts are created once either Lite Registration and / or Subscriptions are enabled in your Gigya site. They use emails as the identifier to merge data from both lite and fully registered accounts. Note that data is merged from full or lite accounts into email accounts and not vice versa, with the exception of subscription data that is shared in real time between account types.
An email account is created for the first time when a user subscribes or registers to your site with a unique email address. This email address is saved in the profile.email field.
Email accounts are updated whenever the corresponding registered account (with the same UID) is updated, and/or whenever a new lite account is created with the same email address.
|created||string||The time the account was created in ISO 8601 format, e.g., "2017-07-16T19:20:30Z".|
|data||JSON object||Custom data. Any data that you want to store regarding the user that isn't part of the Profile or Subscriptions object.|
|token||string||The email account token that can be used to unsubscribe.|
|hasFullAccount||Boolean||Indicates whether this email account is associated with a fully registered account.|
|hasLiteAccount||Boolean||Indicates whether this email account is associated with a lite account.|
|lastUpdated||string||The time when the email account object was last updated (either full or partial update) in ISO 8601 format, e.g., "2017-07-16T19:20:30Z". This is updated when any change is made to the account, for example, when a user changes their subscription preference.|
The user's profile information.
The email saved in profile.email is unique per email account.
An object containing the subscriptions, if any, to which this email account is subscribed.
Subscriptions are part of our Enterprise Preference Management suite. If EPM is not currently part of your current package, please contact your Customer Engagement Executive for additional information.
|UID||string||The unique identifier of this email account. If the user also has a fully registered account (i.e., a full account that uses the same email identifier), they will share the same UID.|
Retrieve all email accounts:
Retrieve all subscribers to a specific newsletter:
Retrieve all subscriptions for an email address:
Retrieve all users who were created with Lite Registration and are not yet full users: