TRACK UpdateConversionRevenue API Version 1

Updated on 2015-06-01
Current Version: Version 1
Deprecated Version: None
Requests Allowed: GET/SOAP/POST

Summary:

This API allows you to adjust/update the revenue on a conversion.  


Resource/WSDL Page:

http:///api/1/track.asmx?op=UpdateConversionRevenue


Parameters

api_key
Required
Type: STRING
Length (Max/Min): 50

Must be a valid API keu (existing and NOT expired)

Example Values: Fo35NRAqvFLXoZxqB4aVMhh

offer_id
Required
Type: INT
Length (Max/Min): NA

Must be an existing offer ID

Example Values: 123456

request_id
Required
Type: INT
Length (Max/Min): NA

Click Request Session ID. 

Example Values: 123456

add_to_existing
Required
Type: Boolean
Length (Max/Min): NA

Add Amount to Existing conversion? ["TRUE" = Add, "FALSE" = Overwrite]

Example Values: FALSE

amount

Required

Type: decimal

Length (Max/Min): NA

Adjustment amount.

Example Values: 3

mark_as_returned

Requires
Type: Boolean

Length (Max/Min): NA

Is the lead being returned? ["TRUE" = Add, "FALSE" = Overwrite]

Example Values: FALSE

note_to_append
Required
Type: STRING
Length (Max/Min): NA

Freeform Notes.  Can be left blank.

Example Values: notes to append

 **Note all optional parameters still need to be passed through in the actual call. These parameters do not need a value (therefore you can use a null value). 


Example Request


GET

Sample XML Response:

 

<string xmlns="http://cakemarketing.com/api/1/">Success - New Revenue: $345.00</string>


Example Error Messages:  

Error Message

Likely Cause

Invalid API Key

API Key does not exist or is expired