Product Advertising API
Developer Guide (API Version 2011-08-01)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

Setting Parameter Values

Request parameter values are set using the format.

ParameterName=value

The following example is a parameter/value pair.

Operation=ItemSearch

Parameter values must be URL-encoded. There are some characters, such as an asterisk or space, that cannot go into a URL. There are equivalents of these characters that you use in requests instead. For example, the URL encoded equivalent of a space is %20. So, instead of writing Name=John Smith you would write Name=John%20Smith.

Parameter Names and Values are Case Sensitive

Parameter names and values are case sensitive. For example, the following declaration is fine.

SearchIndex=Apparel

The following examples return errors because the capitalization is incorrect.

Searchindex=Apparel
SearchIndex=apparel

As you can see in these examples, parameter names and values start with capitals. If the name or value is a compound word, the beginning of each new word is capitalized, for example, in the parameter name, SearchIndex, the "I" is capitalized.