GetOrders API call returning results outside of the scope of the request
Hello all, I am hopeful that you can help with this issue that I am experiencing. I am developing a PHP script to download completed eBay orders using the GetOrders API call. I only want to download orders that have been completed (paid) since the last time that the script has run. From reading the GetOrders documentation I am under the impression that setting ModTimeFrom to be the latest order->CheckoutStatus->LastModifiedTime from the previously downloaded orders, stored in a mySQL DB paired with setting OrderStatus to 'Completed' should give me the results I want. However, this call is returning older orders that do not fit with the query options. Example XML query and code snippet below. Can anyone see what I'm missing, or is this a bug with GetOrders? XML Request: $xmlstr = " tokengoeshere 2014-03-03T20:58:42.000Z Completed ReturnAll en_US High " PHP: $eBayGetOrdersRequest = new SimpleXMLElement($xmlstr); //Call eWS here $URI = '
https://api.ebay.com/ws/api.dll'; $http_headers = array('Content-Type: text/xml', 'X-EBAY-API-COMPATIBILITY-LEVEL:859', 'X-EBAY-API-DEV-NAME:snip', 'X-EBAY-API-APP-NAME:snip', 'X-EBAY-API-CERT-NAME:snip', 'X-EBAY-API-SITEID:0', 'X-EBAY-API-CALL-NAME:GetOrders'); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $URI); curl_setopt($ch, CURLOPT_HTTPHEADER, $http_headers); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLINFO_HEADER_OUT, TRUE); curl_setopt($ch, CURLOPT_POSTFIELDS, array('xml' => $eBayGetOrdersRequest->asXML())); $eBayGetOrdersResult = new SimpleXMLElement(curl_exec($ch));
@jourbandts Thanks for your prompt feedback. I have done so - Question reference #140304-000022. Please keep me updated with any new information related to this issue and/or workarounds you might think of! Again thank you, Eric
Same here on
Ebay.de. I experienced this behavior since today, everything was fine until yesterday. We call for our orders using the numberOfDays=1 Tag, since today we're even receiving already shipped orders from a month ago.
Anyone who has this issue, if you open a ticket it helps us immensely as we can show the PD team how urgent this is, how many it is affecting (everyone), and how much GMV it could potentially cost us.
http://developer.ebay.com/support/developersupport/ There is no charge for bug reports.