AffiliateUser Model

A user belonging to an Affiliate account.

NameTypeDescription
accessArray An array of permissions that the Affiliate User has. This array contains a value "Affiliate" that grants base Affiliate permissions. Other possible permissions are: "Affiliate.account_management" (Ability to manage account users), "Affiliate.API" (Permission to request and use Affiliate API V3), "Affiliate.offer_management" (Ability to manage offers), "Affiliate.stats" (Ability to view stats, graphs and reports), "Affiliate.user_management" (Ability to manage account users).
affiliate_idIntegerThe ID of the Affiliate this User belongs to
cell_phoneNullable String The Affiliate User's cell phone
emailString The Affiliate User's email address
first_nameNullable String The Affiliate User's first name
idIntegerA unique, auto-generated ID for the Affiliate User
This parameter is non-writable
join_dateDatetimeThe date the Affiliate User was created
last_loginNullable DatetimeThe last time the Affiliate User logged into the application
last_nameNullable String The Affiliate User's last name
modifiedDatetimeThe last time the Affiliate User account was updated
passwordString The Affiliate User's password
password_confirmationString Provided on creation and must match the provided "password" field
permissionsIntegerThe Affiliate User's permissions stored as a bitmask. See the "access" field for readable permission names. This should not be set or updated directly; instead, the AffiliateUser::grantAccess and AffiliateUser::removeAccess API functions should be used to grant to, and revoke permissions from, Affiliate Users.
phoneNullable String The Affiliate User's phone number
statusString The Affiliate User statusShow Supported Values
titleNullable String The Affiliate User's title
wants_alertsBoolean DEPRECATED. This field should be ignored.
Have a Question? Please contact support@tune.com for technical support.