我正在使用亚马逊电子商务网络服务,它与Amazon.com合作很好,并显示来自api的所有产品,但我想展示来自Amazon.in的产品。
for API我的基本网址是
http://ecs.amazonaws.com/onca/xml
目前我正在使用此代码
$base_url = "http://ecs.amazonaws.com/onca/xml";
$params = array( 'AWSAccessKeyId' => AWS_ACCESS_KEY_ID,
'AssociateTag' => AMAZON_ASSOC_TAG,
'Version' => "",
'Operation' => "ItemSearch",
'Service' => "AWSECommerceService",
'ResponseGroup' => "Accessories,ItemAttributes,Images,Variations,Reviews,Offers,OfferFull,OfferSummary,OfferListings,Medium",
'Availability' => "Available",
'Condition' => "New",
'SearchIndex' => 'All',
'ItemPage' => $page,
'Keywords' => $searchTerm
);
请告诉我应该为Amazon.in使用哪个网址
答案 0 :(得分:0)
为印度市场更改基本网址:
$base_url = "http://ecs.amazonaws.in/onca/xml";
并在您的请求中提及版本:
"2011-08-01"