select _DONE_ report requests from amazon php -


here code select order report amazon using mws feed api.this working fine,but returns _get_orders_data_ type reports,but need reports having status _done_.is possible php?

here found option reportprocessingstatuslist unable set sdk,how set option?

 $parameters = array (    'merchant' => merchant_id,    'maxcount' => 100  );  $request = new marketplacewebservice_model_getreportrequestlistrequest($parameters);   $typelist = new marketplacewebservice_model_typelist();  $typelist->settype('_get_orders_data_');  $request->setreporttypelist($typelist);  

first, calling getreportrequestlist, part of reports api, not feeds api. can limit results specific report type requesting list this:

$request = new marketplacewebservice_model_getreportrequestlistrequest(array(   "reportprocessingstatuslist.status.1": "_done_" )); 

by way, besides api reference documentation, scratchpad helps lot finding , testing out parameters: https://mws.amazonservices.com/scratchpad/index.html (use proper url matches country/region)


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -