POST /calls/update_by_caller_id/:caller_id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/calls/update_by_caller_id/:caller_id
Update a call's revenue by caller ID
Update a call’s revenue and buyer_converted using the call’s caller_id and offer_token
Params
| Param name | Description |
|---|---|
|
caller_id Required |
The caller ID for the call that will be updated.
|
|
offer_token Required |
The
|
|
call_timeframe Optional |
Pass this optional parameter to restrict the call update to calls made in the last
|
|
revenue Optional |
Set the call’s revenue to this amount. For example pass 10.50 to set the revenue to 10.50
|
|
add_revenue Optional |
Add this amount to the call’s current revenue. For example pass 2.5 to add 2.5 to the current call revenue. If the call revenue is currently 10.50, the revenue would become 13 (10.50 + 2.50)
|
|
add_payout Optional |
Add this amount to the call’s current payout.
|
|
call_disposition_id Optional Blank value allowed |
Call Disposition
|
|
agent_call_disposition_notes Optional Blank value allowed |
Notes
|
|
buyer_converted Optional |
Did the buyer convert?
|