Direct Update URL

The Direct Update URL works by adding parameters that correspond to fields that you want to update.

You also define how you want to update the field (using operators), and provide a value. For example:

http://public_domain/public/?q=direct_update&fn=Public_DirectUpdateForm&id=IDSTRING&field1=lifetimevalue,add,129.23&field2=lastpurchasedate,set,12/15/2012
				
The first part of the URL is given to you as part of the code snippet you got from the Direct Update section on the Data Exchange page. This is unique to each account and allows the application to identify your account. The next few parameters, q, fn, and id allow us to know how to process the data that is to follow, as well as identify your account. The part of the URL contains the parameters you define:

field1=lifetimevalue,add,129.23&field2=lastpurchasedate,set,12/15/2007
				

Some characters that are allowed in a URL are considered reserved characters. A reserved character is a character that can have a special meaning, for example a + symbol. It's a best practice to avoid using reserved characters within an email address (except for @) and you should try to limit your contacts' ability to use them. However, if they do have a reserved character in their email you can encode the character so that it can be used in your URL. For example + would need to be encoded as %2B.

For more information on using operators and adding field data to the Direct Update URL, see Adding Field Data to the Direct Update URL. For more information on updating contact mobile numbers using the Direct Update URL, see Updating A Contact's Mobile Number Using Direct Update.