Affiliate::signup Method

Sign up for an Affiliate by executing the following steps:
- Validate affiliate account attribute.

- Validate affiliate user account.
- Create affiliate.
- Create a new affiliate user with the id from the newly created
Affiliate.
- Save Affiliate meta information.
- Perform fraud validation and calculate fraud score.
- Update affiliate status from active to pending if fraud score
exceeds the fraud threshold.
- Send alert to employee to notify affiliate and affiliate user
have had been created.
Affiliate signup from login page.

NameTypeDescription
NetworkId UrlNetwork ID
NetworkToken String Network token
Target String This calls action target
Method String This calls action method
account Object Affiliate model object dataShow Supported Parameters
userObject Affiliate user model object dataShow Supported Parameters
metaObject Affiliate meta model object dataShow Supported Parameters
return_objectBoolean If true, returns affected object; defaults to true

GET Response Notes

Newly created Affiliate ID or created Affiliate
model object as an array; if return_object is set
to true.

Return response will be in one of the following formats: array, integer.

API Call Builder

Javascript is required to use the API Call Builder.
Have a Question? Please contact support@tune.com for technical support.