WSDL Page:  http://<your_domain_here>/api/2/track.asmx?op=UpdateConversionPrice

 

Parameter Summary:

api_key / STRING = Admin API Key {See get.asmx > GetAPIKey}

request_id / INT = Click Request Session ID {See export.asmx > Conversions}

offer_id / INT = Offer ID {See get.asmx > Offers}

add_to_existing / BOOL = Add Amount to Existing Revenue? ["TRUE" = Add, "FALSE" = Overwrite]

amount / DECIMAL = Revenue to be Added/Overwritten [Use a negative Dollar Amount to Remove Credit]

mark_as_returned / BOOL = Mark the Conversion as Returned? ["TRUE", "FALSE"]

note_to_append / STRING = Freeform Notes

effective_date_option /STRING =The effective date these changes should be applied to. ["today", "conversion_date", "custom"]
custom_date / DATETIME = This date field is only used on effective_date_option = custom, otherwise this date is ignored.[MM/DD/YYYY HH:MM:SS]

 

Parameter Types:

api_key - ID

request_id - ID

offer_id - ID

add_to_existing - ASSIGNABLE

amount - ASSIGNABLE

mark_as_returned - ASSIGNABLE

note_to_append - ASSIGNABLE

effective_date_option - ASSIGNABLE

custom_date - ASSIGNABLE

 

Sample GET Call:

http://demo.cakemarketing.com/api/2/track.asmx/UpdateConversionPrice?api_key=dNJFmId9rI&request_id=3420071&offer_id=1000610&add_to_existing=TRUE&amount=15.00&mark_as_returned=FALSE&note_to_append=Here+is+where+I%27m+putting+my+notes&effective_date_option=conversion_date&custom_date=1/1/2006

 

Sample XML Response:

<update_conversion_price_response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://cakemarketing.com/api/1/">
  <success>true</success>
  <message>Conversion Updated</message>
</update_conversion_price_response>