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

GET Response Notes

Returns ID of newly created affiliate or if return_object is set to true, the created Affiliate model object as an array.

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.