Affiliate::create Method

Creates an affiliate account with the provided information.

Note: Fraud scores are not calculated for affiliate accounts created with Affiliate::create. To perform fraud validation for new affiliates, use Affiliate::signup.

NameTypeDescription
NetworkId UrlNetwork ID
NetworkToken StringNetwork token
Target StringThis calls action target
Method StringThis calls action method
data ObjectAffiliate 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.