Amazon-ECS-PHP-Library
Amazon-ECS-PHP-Library copied to clipboard
Issue with Endless
Thanks for putting this together. It's been awesome for an amateur coder like myself!
I am trying to pull stuff from endless.com (owned by Amazon). Amazon's documentation says ItemSearch on endless is possible via the optionalParameters ... MarketplaceDomain='endless.com', as long as SearchIndex='Marketplace'. Documentation: http://docs.amazonwebservices.com/AWSECommerceService/2011-08-01/DG/MarketplaceDomainParameter.html
I'm using your libraries, and keep getting this message: "Your request is missing a required parameter combination. When SearchIndex equals Marketplace, MarketplaceDomain must be present."
However, I print_r'd the params from your library ... and the array definitely is showing both SearchIndex='Marketplace', and MarketplaceDomain='www.endless.com' ... see below.
Array ( [AssociateTag] => xxxxxxxxxxxxxx-20 [AWSAccessKeyId] => AKIAICH56EGNLOAWZQEA [Request] => Array ( [Operation] => ItemSearch [Keywords] => B003JBINB0 [SearchIndex] => Marketplace [MarketplaceDomain] => www.endless.com [ResponseGroup] => Small ) )
And lastly, here is how I'm calling this: $response = $client->category('Marketplace')->responseGroup('Small')->optionalParameters(array('MarketplaceDomain'=>'www.endless.com'))->search('B003JBINB0');
Your help would be GREATLY appreciated!