Amazon Product Advertising API

名詞解釋

ASIN

ASIN(Amazon Standard Item Number) Amazon Standard Identification Number, which is an alphanumeric token assigned by Amazon to an item that uniquely identifies it.

IdType

Type of item identifier used to look up an item. All IdTypes except ASINx require a SearchIndex to be specified.

Type: String

Default: ASIN

ItemId

One or more (up to ten) positive integers that uniquely identify an item. The meaning of the number is specified by IdType. That is, if IdType is ASIN, the ItemId value is an ASIN. If ItemIdis an ASIN, a search index cannot be specified in the request.

Type: String

Default: None

Constraints: Must be a valid item ID. For more than one ID, use a comma-separated list of up to ten IDs. Valid Values: SKU | UPC | EAN | ISBN (US only, when search index is Books). UPC is not valid in the CA locale.

UPC

通用產品代碼(Universal Product Code),通常簡稱UPC碼,是美國統一編碼協會(UCC)制定的一種商品條碼,主要在美國及加拿大使用。在其基礎之上發展起來的EAN碼則已發展成為適用範圍最廣的通用條碼。

EAN

國際商品條碼(International Article Number),即歐洲商品條碼(European Article Number, EAN),是原來只是歐洲範圍內的、而現在已是全球範圍內產品交易的商品代碼。為了適應讀碼器辨認的需要,這些代碼又被做成大家熟知的條形碼。

ISBN

ISBN區域代碼表

網友心得

Amazon的产品的页面,比如随便找一个:

http://www.amazon.com/Nokia-Lumia-928-Verizon-Wireless/dp/B00CQAODG4/ref=sr_1_7?s=wireless&ie=UTF8&qid=1371965011&sr=1-7

其中的:B00CQAODG4

就是此产品的ASIN。

而在已知一个ASIN,则可以通过:

http://www.amazon.com/gp/product/ASIN

的方式去访问到产品的页面的信息

============ 关于IdType和ItemId的关系,后来才搞懂:

AWS中有很多id,ASIN是其中的一种。其他的还有UPC,EAN,ISBN等等。

所以,你发送给amazon服务器一个id的时候,amazon服务器不知道是啥类型的。

所以需要一个参数,用于说明此id是什么类型的,

所以在代码中,会有个参数,叫做IdType。

用的最多的,就属ASIN了。

所以一般会见到:

IdType=ASIN,

然后ItemId=某个产品的ASIN的值,比如:

ItemId=B00CQAODG4

在代码里面,就体现为:

reqDict["IdType"] = "ASIN"; reqDict["ItemId"] = "B00CQAODG4";

====================

不同地區所對照不同的itemID http://docs.aws.amazon.com/AWSECommerceService/latest/DG/ItemsforSale.html

============