Create a customer
Creates a customer attributed to an affiliate. No commission is created. customer_id is required and must be unique in your account.
You must send at least one tracking reference: coupon, click id, referral code, asset_id + source_id, or tracking id. If several are sent, only the highest-precedence one is used, in this order: coupon, click id, referral code, asset id + source id, tracking id. If that one cannot be resolved, the request fails instead of trying the next.
The customer starts as new, trial or lead (default new). It switches to its active status (active, paying or won) once a conversion is tracked for its customer_id.
Fires Customer created triggers (yours and the affiliate’s). Requires the Manage programs team permission. Common 400 errors: Duplicate customer. There is already a customer for Customer id '...', Unknown coupon code, and Cookie expired (click id and tracking id only; skip this check with override_max_cookie_time=true).
Please refer to our REST API integration guide for more info.
Body
The tracking id, to be retrieved from our javascript library. Please refer to our REST API integration guide for more info.
"XXXXX-XXX-XXXX-XXXX-XXXXX"
Determines the intial status for the customer. You can read more about statuses here. Defaults to "new" if none is passed.
"trial|lead|new"