GetOrders: Get specific order by buyer username and item ID?
Is there any way for me to retrieve orders individually by the customer username and the item ID of the item said customer purchased? The reason for this is that I need the shipping details and the available email address included in the orders for a given customer.
So the quick answer is no, there is no direct way to do this. The long answer is yes there are a few ways to do this, 1. If you already know the ItemID and BuyerID, you can make a request to GetItemTransactions. Then find the specific transaction for that buyer. From there you can grab the OrderLineItemID. You then make a GetOrders request for that specific OrderID and it will give you back only information for that order. 2. The other option is to just parse through GetOrders. You will get all orders returned as usual, but you have the specific info you are looking for already. So you would have to find that order in the response and get the data as needed.