java - eBay Trading API getOrders: check if order is marked as shipped -



java - eBay Trading API getOrders: check if order is marked as shipped -

i want orders ebay seller account. using getorders api works fine.

all of orders marked active or finish depending on status of order. when mark them shipped (by api or on website) orders remain active or finish after re-crawling. expected order status' shipped.

i utilize ebay java sdk version 797 every api phone call returns "success"

how figure out if order marked shipped?

does depend on country?

i'm using high german ebay sandbox ( webgui german/english mix ;) ) i'm using .com api-urls

here's code:

getorderscall phone call = new getorderscall(context); detaillevelcodetype[] detaillevels = new detaillevelcodetype[]{ detaillevelcodetype.return_all }; call.setdetaillevel(detaillevels); call.setorderrole(tradingrolecodetype.seller); call.setnumberofdays(30); ordertype[] orders; seek { orders = call.getorders(); for(ordertype order : orders) system.out.println(order.getorderstatus().name()); } grab (exception e) {}

system.out never prints shipped

thx!

you either check field

<shippedtime>2013-02-22t13:22:04.000z</shippedtime>

or can utilize info transaction array:

<transactionarray> <transaction> <buyer> <email>test.test.test</email> </buyer> <shippingdetails> <sellingmanagersalesrecordnumber>1234</sellingmanagersalesrecordnumber> <shipmenttrackingdetails> <shippingcarrierused>dhl</shippingcarrierused> <shipmenttrackingnumber>123456798</shipmenttrackingnumber> </shipmenttrackingdetails> </shippingdetails> ...

java api ebay

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -