Create a customer
You are required to use either a Tracking id, referral code, click id, coupon code, or asset_id & source_id combination. If more than one of these is sent, the precedence will be as follows (highest to lowest): Coupon, Referral Code, Click Id, Asset id + Source id, Tracking id
Please refer to our REST API integration guide for more info.
Authorizations
Your API key, from your Tapfiliate account settings.
Query Parameters
Body
The id for this customer in your system. The customer id should be unique for each customer.
"USER123"
An affiliate's referral code. This corresponds to the value of ref= in their referral link
"janejameson"
XXX-XXXX-XXXX-XXXXX (string) - The tracking id, to be retrieved from our javascript library. Please refer to our REST API integration guide for more info.
"XXXXX"
abc (string, optional) - The click id. Used to add additional reporting information.
"id: 1"
A coupon code to track the conversion by
"JANE10OFF"
The asset id
"1-aaaaaa"
The source id
"1-ssssss"
Determines the intial status for the customer. You can read more about statuses here. Defaults to "new" if none is passed.
"trial|lead|new"
The client's user agent string. Used for statistics and fraud detection.
"ua string"
The client's ip. Used for fraud detection.
"111.11.11.111"