Affiliate::signup Method

Affiliate sign-up action that executes the following steps:

  • Create affiliate
  • Create 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 network employee that affiliate and affiliate user have been created
NameTypeDescription
NetworkId UrlNetwork ID
NetworkToken StringNetwork token
Target StringThis calls action target
Method StringThis calls action method
account ObjectAffiliate model object dataShow Supported Parameters
userObjectAffiliate user model object dataShow Supported Parameters
metaObjectAffiliate meta model object dataShow Supported Parameters
return_objectBooleanIf true, returns affected object; defaults to true

POST Response Notes

Returns the ID of the newly created affiliate as an integer or returns the newly created Affiliate model object if return_object is set to "true"

API Call Builder

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