Affiliate::create Method

Create 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

GET Response Notes

Returns ID of the 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.