I can't seem to retrieve the MPN (which is in all the listings) from an order retrieved by the GetOrders method. I loop through the order.TransactionArray to get each transaction (I assigned to a variable I named "trans"), then look at trans.Item. I can get the ItemID and the Title, but I absolutely must have the MPN. Looking at the API, this should be available in the ProductListingDetails, but that is null! (it SHOULD be in "trans.Item.ProductListingDetails.BrandMPN,MPN", but since the ProductListingDetails is ALWAYS null - no matter what, I can never retrieve the MPN ). Does anyone know how to retrieve this information?
I found the answer. There is a switch called IncludeItemSpecifics used when making a call via GetItemCall. Set it to "true" so the specifics will be returned. An example in C#: GetItemCall Apicall2 = new GetItemCall(Context); Apicall2.DetailLevelList.Add(DetailLevelCodeType.ReturnAll); Apicall2.IncludeItemSpecifics = true; //IMPORTANT!! eBay.Service.Core.Soap.ItemType fetchedItem = Apicall2.GetItem(trans.Item.ItemID); In
VB.NET: Dim Apicall2 As GetItemCall = New GetItemCall(Context) Apicall2.DetailLevelList.Add(DetailLevelCodeType.ReturnAll) Apicall2.IncludeItemSpecifics = True 'IMPORTANT!! Dim fetchedItem As eBay.Service.Core.Soap.ItemType = Apicall2.GetItem(trans.Item.ItemID) Then, you can get the item specifics