GetUser API cannot access email with FixedPricesItem
I retrive the UserID and ItemID in GetOrders Call. But, the Seller used FixedPriceItems. Well, the documentation writes 'successfully concluded auction'. I can't access to the e-mail with the ItemID - is the item kind (fixed price) the reason?
And is there a workaround (for registration address?)
Both user are registered on DE Site!
Thanks - and sorry for my English!
4 Replies· Add your reply
Answer by shulmani_developer.support · Mar 15 at 04:15 PM
Can you explain your use case better so that we can help you?
Why are you looking for the seller's emailID? are you the buyer of the items? If yes, you can use the contact seller link found in My eBay against the Order.
Answer by niederbobi · Mar 16 at 01:25 AM
sorry for the confusion.
I'm the seller of fixed price Items. And I need the registration address from the buyer of this item. The API docu means, I can get this with the getUser Call (when 'successfully concluded auction' exist).
I call the getOrders() (last day) and get the BuyerUserID and the ItemID (TransactionArray => Transaction => Item => ItemID). In this call, I receive the buyers e-mail too (TransactionArray => Transaction => Buyer => Email).
When I call the getUser with this data (UserID/ItemID), I get the 'invalid request' for the e-mail. (both 'DE user')
Is this a problem of the kind of item (fixed price and not auction), and if so, is there a work araound? Or, if the problem anything else?
Thanks for your reply!
Answer by shulmani_developer.support · Mar 17 at 02:33 PM
There is no issue with the kind of transaction. The GetOrders API Call should give you the EmailID of the buyer for sometime after the transaction.
Here is the knowledge base article for it : https://ebaydts.com/eBayKBDetails?KBid=349
Answer by niederbobi · Mar 18 at 06:28 AM
and thanks again - but I'm not clear, what's the problem ...
The getOrders() call receive the Order with ID 172143963542-1671781515007. OrderStatus ist Complete, and CreatedTime 2017-03-16T15:41:34.000Z - not so far in the past.
I send the BuyerUserID (deichsegXXXXXXX) and the ItemID (172143963542) with the getUser call (UserID, ItemID). In the getOrders call I see the buyer email - in the getUser I get the message -Invalid Request- . Well, not a Problem, I take the email from getOrders.
Okay, actually I'm interested in the registration address. And if I use the parameter DetailLevel (ReturnAll), I receive an warning - AND unexpectedly, the registration address !? If you have time, maybe you can see, why the email is show in the orders call and not in the user call. But my problem is solved ... :)