As a seller, I like to pull all items that a buyer has won from us. What API I should use?
Summary
You can use GetBidderList to retrieve all items the user is currently bidding or the buyer has won or purchased: <?xml version="1.0" encoding="utf-8"?> <GetBidderListRequest xmlns="urn:ebay:apis:eBLBaseComponents"> <DetailLevel>ReturnAll</DetailLevel> <RequesterCredentials> <ebayAuthToken>TOKEN</ebayAuthToken> </RequesterCredentials> <UserID>BUYER</UserID> </GetBidderListRequest>
This call returns up to 200 items. You can add GranularityLevel flag to control the volume of the response payload.
1. Set GranularityLevel to Coarse :<GranularityLevel>Coarse</GranularityLevel>,you will get
Item.ItemID Item.ListingDetails.EndTime
2. Set GranularityLevel to Medium <GranularityLevel>Medium</GranularityLevel>, you will get :