Create a conversion
Tracks a conversion and creates its commissions: one regular commission for the attributed affiliate (or one per item in commissions, whose sub_amounts then add up to the conversion amount), plus MLM level commissions for the affiliate’s eligible parents. Commissions are approved immediately if the program auto-approves.
You must send at least one tracking reference: coupon, click id, referral code, asset_id + source_id, or tracking id. A customer_id can replace it only if it matches an existing customer whose program has recurring commissions: then that customer’s affiliate gets the commission. Otherwise only the highest-precedence tracking reference is used, in this order: coupon, click id, referral code, asset id + source id, tracking id. A reference that can’t be resolved fails the request, and so does any other customer_id sent without a tracking reference (400). A new customer_id creates an active customer for the affiliate.
Unknown commission_type or currency values silently fall back to the program’s defaults.
Fires Conversion Created and Commission created triggers (yours and the affiliate’s) and the affiliate’s postbacks. Requires the Manage programs team permission. Common 400 errors: Duplicate conversion. There is already a conversion for External id '...' (external_id is unique in your account), Cookie expired, and Customer is capped. No new conversions will be generated for this customer.
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"
A unique id for this conversion. It can be anything that is meaningful to you, like an order number, user id, email adres etc.. After a conversion has taken place, you can find this id alongside the conversion on our platform. This makes it very easy to cross-reference data on our platform with your own administration. This id has to be unique for every conversion.
"foobar1"
The id for the current customer in your system. Depending on your program settings, this can be used for recurring / lifetime commissions. You can read more about this here
"USER123"