question

gunsgearandammo avatar image
1 Like"
gunsgearandammo asked ·

Buyer's address not returned using GetSellingManagerSoldListingsCall

 

I am making calls to the API using the Java SDK to retrieve sold auctions.  Everything is going well except the returned results are missing some of the shipping details and the paypal transaction ID.  I can log into eBay.com manually and confirm that the shipping data is available there, but the API call fails to retrieve it.  Below is a minimalist slice of the code we are using.

 

What are we doing wrong?

 

 

 

 

GetSellingManagerSoldListingsCall sales = new GetSellingManagerSoldListingsCall(apiContext);

SellingManagerSoldOrderType[] sellingManagerSoldOrders = sales.getSellingManagerSoldListings();

SellingManagerSoldOrderType solditem = sellingManagerSoldOrders[0];

AddressType at = solditem.getShippingAddress();

SellingManagerOrderStatusType orderStatus = solditem.getOrderStatus();

 

// These methods return non-null

 

String name = at.getName();

String pc = at.getPostalCode();

 

// These methods incorrectly return null

String street = at.getStreet();

String city = at.getCityName();

String paypalTransID = orderStatus.getPayPalTransactionID()

 

shippingaddress
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
gunsgearandammo avatar image
0 Likes"
gunsgearandammo answered ·

Is this the wrong forum to ask a question like this?  I thought ebay support would have answered by now.

· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.