caller_id
and offer_token
curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" -H "Content-Type: application/json" -X POST -d '{"add_revenue": 2.50, "buyer_converted": "true"}' https://[your-subdomain].trackdrive.com/api/v1/calls/update_by_caller_id/:caller_id
curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" -X POST "https://my-company.trackdrive.com/api/v1/calls/update_by_caller_id/17194448888?offer_token=the-offer-token&add_revenue=5"
Param name |
Description
Validations
|
---|---|
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?
|