WSDL Page:  http://your-admin-domain-here.com/api/1/track.asmx?op=UpdateLeadPrice


Parameter Summary:

api_key / STRING = Admin API Key {See GET API Key}

vertical_id / INT (short) = Vertical ID {See GET Verticals}

lead_id / STRING = CAKE Lead ID {See TRACK Conversion Dispositions}

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

billing_option / STRING = Apply Price Changes to which Bill? ["ignore_billing", "next_generated_bill", "latest_generated_bill"]


Parameter Types:

api_key - ID

vertical_id - ID

lead_id - ID

add_to_existing - ASSIGNABLE

amount - ASSIGNABLE

mark_as_returned - ASSIGNABLE

note_to_append - ASSIGNABLE

billing_option - ASSIGNABLE


Sample GET Call:

http://demo.cakemarketing.com/api/1/track.asmx/UpdateLeadPrice?api_key=dNJFmId9rI&vertical_id=1&lead_id=F0E41C8D&add_to_existing=TRUE&amount=15.00&mark_as_returned=FALSE&note_to_append=Here+is+where+I'm+putting+my+notes&billing_option=next_generated_bill

 

Sample XML Response:

<update_lead_price_response>
  <success>true</success>
  <message>Lead Updated</message>
</update_lead_price_response>