Spent countless amount of hours digging eBay API docs and could not find anything.
On the seller account I need to get list of all orders with status “Awaiting Postage” or “Unshipped”. So I can get XML report of all orders which are currently “Unshipped” with full details about the customers (Shipping address, postage method used etc.)
GetOrders doesn’t provide filter for Unshipped orders.
GetSellingManagerSoldListings has such functionality, but doesn’t provide any details about customer’s shipping details.
Did anyone have such problem?
Thanks in advance.
6
Answers
This code worked for me and hope you find it useful
GetOrders doesn’t provide filter for Unshipped orders..but if there is object of [ShippedTime] in response of your GetOrders Request that mean the order is shipped for unshipped item you wouldn,t get object of [ShippedTime] …on this base you can query for unshipped orders
I’ve been searching for a solution to this question for quite some allotted time, also. This is a really old question but I wish it had a more direct answer. Would of saved me hours. @Moazam had the right idea, however really lacked specificity, so here goes. The following answer is written in python, based off/using eBay’s Api. (You’d think this would be significantly more simple to find/do)
Should output something like this:
With this information you could do a
try/except
loop over each transaction.If shippedtime == None
, then you can dissect the order and get useful info likeprint each.shippingaddress, each.orderlineitemid, each.paidtime
etc…Well, i got the orders to be shipped by following params using php.
I hope you got the filter param “PaidNoTShipped”.
You will get a order_line_item_id in this response and using this just make a another call with this order line item id GetOrderTransactions and you will get the rest information. Use
<DetailLevel>ReturnAll</DetailLevel>
in GetOrderTransactions to get extended result.Let me know if you want to know more about api calls.
GetOrders has
RequiredSellerAction
tag which shows the next action the seller has to make.For unshipped orders it’s ‘
MarkAsShipped
‘That’s my ‘hacky’ way of doing it: