Skip to main content
Published: June 15 2015, 2:20:00 PMUpdated: September 04 2022, 11:08:39 AM

I can see half orders in my half account Sales page (https://account.half.ebay.com/ws/eBayISAPI.dll?MyAccountSaleSummary).
But when I make the GetOrders call using <ListingType>Half</ListingType> I get back 0 orders.
What is going on?

Detailed Description


Orders on half have different enumeration values for the OrderStatus of an Order than the values used for eBay orders.

"Inactive" is NOT an acceptable value for OrderStatus for half orders (although "Inactive" is acceptable for eBay orders).
So if you make a GetOrders call using <ListingType>Half</ListingType>, with <OrderStatus>ALL</OrderStatus>
you may get back 0 orders. This is the expected behavior.


Here is the list of order status applicable values :

For ebay orders:
•     Active
•     Completed
•     Inactive
•     Cancelled
•     All

Half orders:
•     Active
•     Completed
•     Cancelled
•     Shipped


Note : For half.com orders, you should call the API for each order status type seperately.


Sample : Getting half.com "Shipped" Orders
Include <OrderStatus>Shipped</OrderStatus> in the request.
Here is an example of a GetOrders call used to get "Shipped" orders:


<?xml version="1.0" encoding="utf-8"?>
<GetOrdersRequest xmlns="urn:ebay:apis:eBLBaseComponents">
   <Version>793</Version>
   <CreateTimeFrom>2013-07-10T04:20:08.000Z</CreateTimeFrom>
   <CreateTimeTo>2013-07-16T04:20:08.000Z</CreateTimeTo>
   <DetailLevel>ReturnAll</DetailLevel>
   <ListingType>Half</ListingType>
   <OrderStatus>Shipped</OrderStatus>
   <Pagination>
     <EntriesPerPage>100</EntriesPerPage>
     <PageNumber>1</PageNumber>
   </Pagination>
   <RequesterCredentials>
     <eBayAuthToken>token</eBayAuthToken>
   </RequesterCredentials>
</GetOrdersRequest>

 

How well did this answer your question?
Answers others found helpful

Got thoughts? Click the feedback button – your insights help us improve!