Amazon Product Advertising API Developer's Manual page 54

Api version 2011-08-01
Table of Contents

Advertisement

Product Advertising API Developer Guide
http://webservices.amazon.com/onca/xml?
Service=AWSECommerceService&
Operation=ItemSearch&
AWSAccessKeyId=[Access Key
AssociateTag=[ID]&
SearchIndex=Apparel&
Keywords=Shirt
&Timestamp=[YYYY-MM-DDThh:mm:ssZ]
&Signature=[Request Signature]
General Request Format
Part of every Product Advertising API request is always the same. The other part of the request varies
according to the parameters used in the request, as shown in the following figure.
Request Terms that Remain the Same
The first two lines in the preceding example contain the endpoint, http://webservices.amazon.com/onca/xml,
and the service name, AWSECommerceService.
Amazon hosts many web services in addition to Product Advertising API, including Mechanical Turk and
S3. The service name in the request specifies that the request should be sent by the web servers to
Product Advertising API. This line is always the same in every Product Advertising API request, regardless
of locale.
Service=AWSECommerceService&
The endpoint value varies by locale, but there are only two endpoints per locale. One endpoint in a locale
is the secure version of the other endpoint. The following table lists the endpoints to use in Product
Advertising API requests.
Locale
CA
CN
DE
ES
FR
Anatomy of a REST Request
ID]&
Endpoint
http://ecs.amazonaws.ca/onca/xml
https://ecs.amazonaws.ca/onca/xml
http://webservices.amazon.cn/onca/xml
https://webservices.amazon.cn/onca/xml
http://ecs.amazonaws.de/onca/xml
https://ecs.amazonaws.de/onca/xml
http://webservices.amazon.es/onca/xml
https://webservices.amazon.es/onca/xml
http://ecs.amazonaws.fr/onca/xml
https://ecs.amazonaws.fr/onca/xml
API Version 2011-08-01
47

Advertisement

Table of Contents
loading

Table of Contents