Problem GetOrdersRequest not returning all orders
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2023 05:42 AM
Hello,
GetOrdersRequest is not returning all orders for the <CreateTimeFrom> to <CreateTimeTo>. Some orders are getting skipped and are never coming in the response.
I am new to eBay API development, and am supporting this, please help me. I don't have information on what to change in my code to fix this issue.
https://api.ebay.com/ws/api.dll
Headers -
X-EBAY-API-COMPATIBILITY-LEVEL : 803
X-EBAY-API-SITEID : 0
X-EBAY-API-CALL-NAME : GetOrders
X-EBAY-API-DEV-NAME : DevName
X-EBAY-API-APP-NAME : AppName
X-EBAY-API-CERT-NAME : Cert
Method- POST
ContentType - text/xml
<?xml version="1.0" encoding="UTF-8"?> <GetOrdersRequest xmlns="urnapis:eBLBaseComponents"> <RequesterCredentials> <eBayAuthToken>token</eBayAuthToken> </RequesterCredentials> <CreateTimeFrom>2023-04-23T04:00:00.00Z</CreateTimeFrom> <CreateTimeTo>2023-04-24T03:59:00.00Z</CreateTimeTo> <IncludeFinalValueFee>1</IncludeFinalValueFee> <OrderRole>Seller</OrderRole> <OrderStatus>Completed</OrderStatus> <Pagination> PaginationType <EntriesPerPage>500</EntriesPerPage> </Pagination> <DetailLevel>ReturnAll</DetailLevel> </GetOrdersRequest>
Thanks in advance.
Problem GetOrdersRequest not returning all orders
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2023 11:02 PM - edited ‎04-28-2023 02:10 AM
Hi @prsh-2663
When you set the OrderStatus as Completed with a date filter, only orders that satisfy both the date range and the OrderStatus value are retrieved so orders in Active or Cancelled state will not return in the response.
Please use the OrderStatus as "All" to retrieve orders in all states.
eBay Developer Support
Problem GetOrdersRequest not returning all orders
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-02-2023 07:54 AM
Hello,
Thank you for the reply, I did try the change suggested in reply above, but still two orders are not being returned with "All" order status.
Can you please suggest any other change for fixing this issue?
Thank you!
